public class Point3D extends Object
| Constructor and Description |
|---|
Point3D(int iseq,
double z)
Constructs a new Point3D.
|
| Modifier and Type | Method and Description |
|---|---|
static 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 Comparator<Point3D> getComparator(boolean zAscending, boolean seqAscending)
zAscending - true for ascending ZseqAscending - true for ascending sequence IDCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.