A lightweight class used to store coordinates on the 2-dimensional Cartesian plane. It is distinct from {@link Point}, which is a subclass of {@link Geometry}. Unlike objects of type {@link Point} (which contain additionalinformation such as an envelope, a precision model, and spatial reference system information), a
Coordinate
only contains ordinate values and accessor methods.
Coordinate
s are two-dimensional points, with an additional Z-ordinate. JTS does not support any operations on the Z-ordinate except the basic accessor functions. 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.
@version 1.7