/** * Initialize the Graphics object. */ private void initGraphics() { if (base.dimension == 2) { graphics = new Graphics(new Projection2D(this)); } else { graphics = new Graphics(new Projection3D(this)); } }
/** * Initialize the Graphics object. */ private void initGraphics() { if (base.dimension == 2) { graphics = new Graphics(new Projection2D(this)); } else { graphics = new Graphics(new Projection3D(this)); } }