It is distinct from Point, which is a subclass of Geometry. Unlike objects of type Point (which contain additional information such as an envelope, a precision model, and spatial reference system information), a Coordinate only contains ordinate values and accessor methods.
Coordinates are two-dimensional points, with an additional Z-ordinate. If an Z-ordinate value is not specified or not defined, constructed coordinates have a Z-ordinate of NaN (which is also the value of NULL_ORDINATE). The standard comparison functions ignore the Z-ordinate. Apart from the basic accessor functions, JTS supports only specific operations involving the Z-ordinate.
Implementations may optionally support Z-ordinate and M-measure values as appropriate for a CoordinateSequence. Use of getZ() and getM() accessors, or getOrdinate(int) are recommended.
Coordinate at (x,y,z).
Coordinate having the same (x,y,z) values as
other.
Coordinate to copy.
Coordinate at (x,y,NaN).
Coordinates (x,y,z) values to that of
other.
Coordinate to copy
Coordinates are equal.
Coordinate with which to do the 2D comparison.
true if the x- and y-coordinates are equal; the z-coordinates do not have to be equal.
Coordinate with which to do the 2D comparison.
other is a
Coordinate with the same values for X and Y.
Coordinate with which to do the 3D comparison.
other is a
Coordinate with the same values for X, Y and Z.
true if
other has the same values for the x and y ordinates. Since Coordinates are 2.5D, this routine ignores the z value when making the comparison.
Coordinate with which to do the comparison.
true if
other is a
Coordinate with the same values for the x and y ordinates.
Coordinate with which this
Coordinate is being compared
Coordinate is less than, equal to, or greater than the specified
Coordinate
String of the form
(x,y,z) .
String of the form
(x,y,z)