Package org.apache.sis.geometry
Class AbstractEnvelope.Point
java.lang.Object
org.apache.sis.io.wkt.FormattableObject
org.apache.sis.geometry.AbstractDirectPosition
org.apache.sis.geometry.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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal org.opengis.referencing.crs.CoordinateReferenceSystemThe coordinate reference system in which the coordinate is given.final intThe length of coordinate sequence (the number of entries).Methods inherited from class org.apache.sis.geometry.AbstractDirectPosition
castOrCopy, equals, formatTo, getCoordinate, getDirectPosition, hashCode, normalize, parse, setLocation, setOrdinate, toString, toStringMethods inherited from class org.apache.sis.io.wkt.FormattableObject
print, toString, toWKTMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opengis.geometry.DirectPosition
getOrdinate
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
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:
getCoordinateReferenceSystemin interfaceorg.opengis.geometry.DirectPosition- Overrides:
getCoordinateReferenceSystemin classAbstractDirectPosition- Returns:
- the coordinate reference system, or
null.
-
getDimension
public final int getDimension()The length of coordinate sequence (the number of entries).- Specified by:
getDimensionin interfaceorg.opengis.geometry.DirectPosition
-