public class SortablePoint extends PointND implements java.lang.Comparable<SortablePoint>
Constructor and Description |
---|
SortablePoint(double... d) |
SortablePoint(PointND point)
Copy constructor for PointND
|
SortablePoint(SimpleVector add) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SortablePoint o) |
int |
getSortIndex() |
void |
setSortIndex(int sortIndex) |
applyTransform, clone, equals, euclideanDistance, get, getAbstractVector, getCoordinates, getDimension, set, setCoordinates, toString, updateIfHigher, updateIfLower
public SortablePoint(double... d)
public SortablePoint(PointND point)
point
- public SortablePoint(SimpleVector add)
public int getSortIndex()
public void setSortIndex(int sortIndex)
sortIndex
- the sortIndex to setpublic int compareTo(SortablePoint o)
compareTo
in interface java.lang.Comparable<SortablePoint>