1 package net.sf.openrocket.rocketcomponent;
3 public interface RadialParent {
6 * Return the outer radius of the component at local coordinate <code>x</code>.
7 * Values for <code>x < 0</code> and <code>x > getLength()</code> are undefined.
9 * @param x the lengthwise position in the coordinates of this component.
10 * @return the outer radius of the component at that position.
12 public double getOuterRadius(double x);
15 * Return the inner radius of the component at local coordinate <code>x</code>.
16 * Values for <code>x < 0</code> and <code>x > getLength()</code> are undefined.
18 * @param x the lengthwise position in the coordinates of this component.
19 * @return the inner radius of the component at that position.
21 public double getInnerRadius(double x);
25 * Return the length of this component.
27 * @return the length of this component.
29 public double getLength();