create changelog entry
[debian/openrocket] / core / src / net / sf / openrocket / rocketcomponent / RadialParent.java
1 package net.sf.openrocket.rocketcomponent;
2
3 public interface RadialParent {
4
5         /**
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.
8          * 
9          * @param x             the lengthwise position in the coordinates of this component.
10          * @return              the outer radius of the component at that position.
11          */
12         public double getOuterRadius(double x);
13
14         /**
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.
17          * 
18          * @param x             the lengthwise position in the coordinates of this component.
19          * @return              the inner radius of the component at that position.
20          */
21         public double getInnerRadius(double x);
22         
23         
24         /**
25          * Return the length of this component.
26          * 
27          * @return              the length of this component.
28          */
29         public double getLength();
30                 
31 }