Class AbstractEnvelope.Point

All Implemented Interfaces:
Serializable, org.opengis.geometry.coordinate.Position, org.opengis.geometry.DirectPosition
Direct Known Subclasses:
AbstractEnvelope.LowerCorner, AbstractEnvelope.Median, AbstractEnvelope.UpperCorner
Enclosing class:
AbstractEnvelope

private abstract class AbstractEnvelope.Point extends AbstractDirectPosition implements Serializable
Base class for unmodifiable direct positions backed by the enclosing envelope. Subclasses must override the DirectPosition.getOrdinate(int) method in order to delegate the work to the appropriate AbstractEnvelope method.

Instance of this class are serializable if the enclosing envelope is serializable.

Since:
0.3
Version:
0.3
  • Field Details

  • Constructor Details

    • Point

      private Point()
  • Method Details

    • getCoordinateReferenceSystem

      public final org.opengis.referencing.crs.CoordinateReferenceSystem getCoordinateReferenceSystem()
      The coordinate reference system in which the coordinate is given.
      Specified by:
      getCoordinateReferenceSystem in interface org.opengis.geometry.DirectPosition
      Overrides:
      getCoordinateReferenceSystem in class AbstractDirectPosition
      Returns:
      the coordinate reference system, or null.
    • getDimension

      public final int getDimension()
      The length of coordinate sequence (the number of entries).
      Specified by:
      getDimension in interface org.opengis.geometry.DirectPosition