private static Point2d [ ] coordinatesOfCycle ( int [ ] cycle , IAtomContainer container ) { Point2d [ ] points = new Point2d [ cycle . length ] ; for ( int i = 0 ; i < cycle . length ; i ++ ) { points [ i ] = container . getAtom ( cycle [ i ] ) . getPoint2d ( ) ; } return points ; }
Obtain the coordinates of atoms in a cycle .