8311d0ae12f9ff5f8bc3026e7a243f6ba18f81f7
[debian/openrocket] / src / net / sf / openrocket / gui / rocketfigure / RocketComponentShapes.java
1 package net.sf.openrocket.gui.rocketfigure;
2
3
4 import java.awt.Shape;
5
6 import net.sf.openrocket.gui.scalefigure.RocketFigure;
7 import net.sf.openrocket.util.Transformation;
8
9
10 /**
11  * A catch-all, no-operation drawing component.
12  */
13 public class RocketComponentShapes {
14
15         protected static final double S = RocketFigure.EXTRA_SCALE;
16         
17         public static Shape[] getShapesSide(net.sf.openrocket.rocketcomponent.RocketComponent component,
18                         Transformation t) {
19                 // no-op
20                 System.err.println("ERROR:  RocketComponent.getShapesSide called with "+component);
21                 return new Shape[0];
22         }
23         
24         public static Shape[] getShapesBack(net.sf.openrocket.rocketcomponent.RocketComponent component,
25                         Transformation t) {
26                 // no-op
27                 System.err.println("ERROR:  RocketComponent.getShapesBack called with "+component);
28                 return new Shape[0];
29         }
30         
31         
32 }