public class Point3D
extends java.lang.Object
| Constructor | Description |
|---|---|
Point3D(int iseq,
double z) |
Constructs a new Point3D.
|
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.Comparator<Point3D> |
getComparator(boolean zAscending,
boolean seqAscending) |
Returns a comparator which can be used to sort Point3D objects.
|
double |
getZ() |
Returns the Z coordinate.
|
public Point3D(int iseq,
double z)
iseq - sequence value, used as a tie-breaker for comparisonsz - Z coordinate, used for sortingpublic double getZ()
public static java.util.Comparator<Point3D> getComparator(boolean zAscending, boolean seqAscending)
zAscending - true for ascending ZseqAscending - true for ascending sequence IDCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.