class AtomPlacer {

    public void populatePolygonCorners(final List<IAtom> atoms,
                                       final Point2d center,
                                       final double thetaBeg,
                                       final double thetaStep,
                                       final double radius) {
        final int numAtoms = atoms.size();
        double theta = thetaBeg;

        logger.debug("populatePolygonCorners(numAtoms=", numAtoms, ", center=", center, ", thetaBeg=", Math.toDegrees(thetaBeg), ", r=", radius);

        for (IAtom atom : atoms) {
            theta += thetaStep;
            double x = Math.cos(theta) * radius;
            double y = Math.sin(theta) * radius;
            double newX = x + center.x;
            double newY = y + center.y;
            atom.setPoint2d(new Point2d(newX, newY));
            atom.setFlag(CDKConstants.ISPLACED, true);
            logger.debug("populatePolygonCorners - angle=", Math.toDegrees(theta), ", newX=", newX, ", newY=", newY);
        }
    }

    public  AtomPlacer();

}