|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.geometry.jts.spatialschema.geometry.EnvelopeImpl
public class EnvelopeImpl
A minimum bounding box or rectangle. Regardless of dimension, an Envelope
can
be represented without ambiguity as two direct positions (coordinate points). To encode an
Envelope
, 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.
Constructor Summary | |
---|---|
EnvelopeImpl(org.opengis.geometry.DirectPosition lowerCorner,
org.opengis.geometry.DirectPosition upperCorner)
Creates a new EnvelopeImpl . |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
double |
getCenter(int dimension)
Deprecated. |
org.opengis.referencing.crs.CoordinateReferenceSystem |
getCoordinateReferenceSystem()
|
int |
getDimension()
|
double |
getLength(int dimension)
Deprecated. |
org.opengis.geometry.DirectPosition |
getLowerCorner()
|
double |
getMaximum(int dimension)
|
double |
getMedian(int dimension)
|
double |
getMinimum(int dimension)
|
double |
getSpan(int dimension)
|
org.opengis.geometry.DirectPosition |
getUpperCorner()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EnvelopeImpl(org.opengis.geometry.DirectPosition lowerCorner, org.opengis.geometry.DirectPosition upperCorner)
EnvelopeImpl
.
lowerCorner
- upperCorner
- Method Detail |
---|
public final int getDimension()
getDimension
in interface org.opengis.geometry.Envelope
org.opengis.geometry.coordinate.Envelope#getDimension()
public final double getMinimum(int dimension)
getMinimum
in interface org.opengis.geometry.Envelope
org.opengis.geometry.coordinate.Envelope#getMinimum(int)
public final double getMaximum(int dimension)
getMaximum
in interface org.opengis.geometry.Envelope
org.opengis.geometry.coordinate.Envelope#getMaximum(int)
@Deprecated public final double getCenter(int dimension)
getCenter
in interface org.opengis.geometry.Envelope
org.opengis.geometry.coordinate.Envelope#getCenter(int)
public final double getMedian(int dimension)
getMedian
in interface org.opengis.geometry.Envelope
org.opengis.geometry.coordinate.Envelope#getMedian(int)
@Deprecated public final double getLength(int dimension)
getLength
in interface org.opengis.geometry.Envelope
org.opengis.geometry.coordinate.Envelope#getLength(int)
public final double getSpan(int dimension)
getSpan
in interface org.opengis.geometry.Envelope
org.opengis.geometry.coordinate.Envelope#getSpan(int)
public final org.opengis.geometry.DirectPosition getUpperCorner()
getUpperCorner
in interface org.opengis.geometry.Envelope
org.opengis.geometry.coordinate.Envelope#getUpperCorner()
public final org.opengis.geometry.DirectPosition getLowerCorner()
getLowerCorner
in interface org.opengis.geometry.Envelope
org.opengis.geometry.coordinate.Envelope#getLowerCorner()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public org.opengis.referencing.crs.CoordinateReferenceSystem getCoordinateReferenceSystem()
getCoordinateReferenceSystem
in interface org.opengis.geometry.Envelope
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |