public class StemTaperSegmentList extends java.util.ArrayList<StemTaperSegment>
Constructor and Description |
---|
StemTaperSegmentList() |
Modifier and Type | Method and Description |
---|---|
static StemTaperSegmentList |
createStemTaperSegmentList(java.util.List<java.lang.Double> heights,
boolean optimize)
This static methods provides a list of StemTaperSegment instances embedded in a StemTaperSegmentList.
|
protected java.util.List<java.lang.Double> |
getHeights()
This method returns a List of Double instance that corresponds to the heights (m) across all
segments.
|
java.util.List<java.lang.Double> |
getHeightsWithoutReplicates()
This method returns a List of Double instance that corresponds to the heights (m) across all
segments without replicates.
|
protected java.util.List<java.lang.Double> |
getRescalingFactorsAcrossSegments()
This method returns a List of Double instances that correspond to the rescaling factors across the segments.
|
protected java.util.List<java.lang.Double> |
getWeightsAcrossSegments()
This method returns a List of Double instances that correspond to the weights across the segments.
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
protected java.util.List<java.lang.Double> getHeights()
public java.util.List<java.lang.Double> getHeightsWithoutReplicates()
protected java.util.List<java.lang.Double> getWeightsAcrossSegments()
protected java.util.List<java.lang.Double> getRescalingFactorsAcrossSegments()
public static StemTaperSegmentList createStemTaperSegmentList(java.util.List<java.lang.Double> heights, boolean optimize)
heights
- a List of Double instances that represent the heights along the boleoptimize
- if false it disables the CompositeSimpsonRule and only the TrapezoidalRule is enabled