@ Override public void setup ( IReactionSet reactionSet , Rectangle screen ) { this . setScale ( reactionSet ) ; Rectangle2D bounds = BoundsCalculator . calculateBounds ( reactionSet ) ; 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 Reaction Set .