public abstract class AbstractEnvelope extends Object implements Envelope
toString()
, equals(java.lang.Object)
and hashCode()
methods.
This class do not holds any state. The decision to implement Serializable
or
org.geotools.util.Cloneable
interfaces is left to implementors.
Modifier | Constructor and Description |
---|---|
protected |
AbstractEnvelope()
Constructs an envelope.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
|
DirectPosition |
getLowerCorner()
A coordinate position consisting of all the minimal ordinates.
|
DirectPosition |
getUpperCorner()
A coordinate position consisting of all the maximal ordinates.
|
int |
hashCode()
Returns a hash value for this envelope.
|
String |
toString()
Returns a string representation of this envelope.
|
getCoordinateReferenceSystem, getDimension, getMaximum, getMedian, getMinimum, getSpan
public DirectPosition getLowerCorner()
getLowerCorner
in interface Envelope
public DirectPosition getUpperCorner()
getUpperCorner
in interface Envelope
public String toString()
This string is okay for occasional formatting (for example for debugging purpose). But if
there is a lot of envelopes to format, users will get more control by using their own
instance of CoordinateFormat
.
public int hashCode()
Copyright © 1996–2019 Geotools. All rights reserved.