public class Envelope2D extends DefaultEnvelope implements Cloneable
| Modifier and Type | Field and Description |
|---|---|
static String |
PERSISTENCE_DEFINITION_NAME |
isEmpty, LOWERCORNER_FIELD, manager, max, min, UPPERCORNER_FIELD| Constructor and Description |
|---|
Envelope2D() |
Envelope2D(double minX,
double minY,
double maxX,
double maxY) |
Envelope2D(Point min,
Point max) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Envelope envelope)
Adds a envelope to the current envelope.
|
Object |
clone()
Creates a copy of the object.
|
Envelope |
convert(ICoordTrans trans)
Converts the envelope to other coordinate reference system
|
int |
getDimension()
The length of coordinate sequence (the number of entries) in this
envelope.
|
static void |
registerPersistent() |
add, clear, contains, equals, getCenter, getGeometry, getLength, getLowerCorner, getMaximum, getMinimum, getUpperCorner, intersects, isEmpty, loadFromState, saveToState, setLowerCorner, setUpperCorner, toStringfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcenterTo, intersectspublic static final String PERSISTENCE_DEFINITION_NAME
public Envelope2D()
public Envelope2D(double minX,
double minY,
double maxX,
double maxY)
public int getDimension()
EnvelopegetDimension in interface Envelopepublic Envelope convert(ICoordTrans trans)
Envelopepublic static void registerPersistent()
public Object clone() throws CloneNotSupportedException
Cloneableclone in class DefaultEnvelopeCloneNotSupportedException - if the instance of the object cannot
be cloned. As this is extending Cloneable so
its sure it implements it, so this exception may be used for problems
on specific object instances.Object#clone()}.