org.opengis.spatialschema.geometry
Interface Envelope
-
@UML(identifier="GM_Envelope", specification=ISO_19107) public interface Envelope
A minimum bounding box or rectangle. Regardless of dimension, anEnvelopecan be represented without ambiguity as two direct positions (coordinate points). To encode anEnvelope, it is sufficient to encode these two points. This is consistent with all of the data types in this specification, their state is represented by their publicly accessible attributes.- Since:
- GeoAPI 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description doublegetCenter(int dimension)Returns the center ordinate along the specified dimension.intgetDimension()The length of coordinate sequence (the number of entries) in this envelope.doublegetLength(int dimension)Returns the envelope length along the specified dimension.DirectPositiongetLowerCorner()A coordinate position consisting of all the minimal ordinates for each dimension for all points within theEnvelope.doublegetMaximum(int dimension)Returns the maximal ordinate along the specified dimension.doublegetMinimum(int dimension)Returns the minimal ordinate along the specified dimension.DirectPositiongetUpperCorner()A coordinate position consisting of all the maximal ordinates for each dimension for all points within theEnvelope.
-
-
-
Method Detail
-
getDimension
@Extension int getDimension()
The length of coordinate sequence (the number of entries) in this envelope.- Returns:
- The dimensionality of this envelope.
- Since:
- GeoAPI 2.0
-
getMinimum
@Extension double getMinimum(int dimension)
Returns the minimal ordinate along the specified dimension.- Since:
- GeoAPI 2.0
-
getMaximum
@Extension double getMaximum(int dimension)
Returns the maximal ordinate along the specified dimension.- Since:
- GeoAPI 2.0
-
getCenter
@Extension double getCenter(int dimension)
Returns the center ordinate along the specified dimension.- Since:
- GeoAPI 2.0
-
getLength
@Extension double getLength(int dimension)
Returns the envelope length along the specified dimension. This length is equals to the maximum ordinate minus the minimal ordinate.- Since:
- GeoAPI 2.0
-
getUpperCorner
@UML(identifier="upperCorner", obligation=MANDATORY, specification=ISO_19107) DirectPosition getUpperCorner()
A coordinate position consisting of all the maximal ordinates for each dimension for all points within theEnvelope.- Returns:
- The upper corner.
-
getLowerCorner
@UML(identifier="lowerCorner", obligation=MANDATORY, specification=ISO_19107) DirectPosition getLowerCorner()
A coordinate position consisting of all the minimal ordinates for each dimension for all points within theEnvelope.- Returns:
- The lower corner.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG