public class StemTaperCrossSection
extends java.lang.Object
implements java.lang.Comparable
| Constructor and Description |
|---|
StemTaperCrossSection(double height,
double diameter)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.lang.Object arg0) |
double |
getSectionDiameter()
This method returns the diameter of the section (mm).
|
double |
getSectionHeight()
This method returns the height of the section (m).
|
public StemTaperCrossSection(double height,
double diameter)
height - the height of the section along the bole (m)diameter - the diameter of the section (mm)public int compareTo(java.lang.Object arg0)
compareTo in interface java.lang.Comparablepublic double getSectionHeight()
public double getSectionDiameter()