4 package net.sf.openrocket.rocketcomponent;
7 * This interface defines the API for components that are axially
8 * symmetric. It differs from RadialParent in that RadialParent applies
9 * to axially symmetric components whose radius varies with position, while
10 * this interface is for components that have a constant radius over it's length.
12 public interface Coaxial {
15 * Get the length of the radius of the inside dimension, in standard units.
17 * @return the inner radius
19 double getInnerRadius();
22 * Set the length of the radius of the inside dimension, in standard units.
24 * @param v the length of the inner radius
26 void setInnerRadius(double v);
29 * Get the length of the radius of the outside dimension, in standard units.
31 * @return the outer radius
33 double getOuterRadius();
36 * Set the length of the radius of the outside dimension, in standard units.
38 * @param v the length of the outer radius
40 void setOuterRadius(double v);
43 * Get the wall thickness of the component. Typically this is just
44 * the outer radius - inner radius.
46 * @return the thickness of the wall
48 double getThickness();