Holds the coordinates for a position within some coordinate reference system. Since DirectPositions, as data types, will often be included in larger objects (such as geometries) that have references to CoordinateReferenceSystem, the getCoordinateReferenceSystem() method may returns null if this particular DirectPosition is included in a larger object with such a
reference to a coordinate reference system. In this case,
the cordinate reference system is implicitly assumed to take on the value of the containing
object's CoordinateReferenceSystem.

This particular implementation of DirectPosition is said "General" because it uses an
array of ordinates of an arbitrary length. If the direct position is know
to be always two-dimensional, then DirectPosition2D may provides a more efficient
implementation.

Method Detail

getCoordinateReferenceSystem

Returns the coordinate reference system in which the coordinate is given. May be null
if this particular DirectPosition is included in a larger object with such a
reference to a coordinate reference system.