@Override
    public void setup(IAtomContainerSet moleculeSet, Rectangle screen) {
        this.setScale(moleculeSet);
        Rectangle2D bounds = BoundsCalculator.calculateBounds(moleculeSet);
        if (bounds != null) this.modelCenter = new Point2d(bounds.getCenterX(), bounds.getCenterY());
        this.drawCenter = new Point2d(screen.getCenterX(), screen.getCenterY());
        this.setup();
    }
@ Override public void setup ( IAtomContainerSet moleculeSet , Rectangle screen ) { this . setScale ( moleculeSet ) ; Rectangle2D bounds = BoundsCalculator . calculateBounds ( moleculeSet ) ; if ( bounds != null ) this . modelCenter = new Point2d ( bounds . getCenterX ( ) , bounds . getCenterY ( ) ) ; this . drawCenter = new Point2d ( screen . getCenterX ( ) , screen . getCenterY ( ) ) ; this . setup ( ) ; }
Setup the transformations necessary to draw this {@link IAtomContainerSet}.

@param moleculeSet the {@link IAtomContainerSet} for what to set the scale
@param screen      the {@link Rectangle} for which to calculate the scale