public class Envelope2D extends DefaultEnvelope implements Cloneable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PERSISTENCE_DEFINITION_NAME |
isEmpty, LOWERCORNER_FIELD, manager, max, min, projection, UPPERCORNER_FIELD
Constructor and Description |
---|
Envelope2D() |
Envelope2D(com.vividsolutions.jts.geom.Envelope envelope,
IProjection projection) |
Envelope2D(com.vividsolutions.jts.geom.Geometry bounds) |
Envelope2D(double minX,
double minY,
double maxX,
double maxY,
IProjection projection) |
Envelope2D(IProjection projection) |
Envelope2D(Point min,
Point max,
IProjection projection) |
Modifier and Type | Method and Description |
---|---|
void |
add(Envelope envelope)
Adds a envelope to the current envelope.
|
java.lang.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, centerTo, clear, contains, equals, getBox2D, getCenter, getGeometry, getLength, getLowerCorner, getMaximum, getMinimum, getProjection, getUpperCorner, hasM, hasZ, intersects, intersects, isCollapsed, isCollapsed, isEmpty, loadFromState, saveToState, setLowerCorner, setProjection, setProjectionIffNull, setUpperCorner, toString
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
cloneQuietly, cloneQuietly
public static final java.lang.String PERSISTENCE_DEFINITION_NAME
public Envelope2D()
public Envelope2D(IProjection projection)
public Envelope2D(Point min, Point max, IProjection projection)
public Envelope2D(double minX, double minY, double maxX, double maxY, IProjection projection)
public Envelope2D(com.vividsolutions.jts.geom.Geometry bounds)
bounds
- public Envelope2D(com.vividsolutions.jts.geom.Envelope envelope, IProjection projection)
envelope
- public int getDimension()
Envelope
getDimension
in interface Envelope
public Envelope convert(ICoordTrans trans)
Envelope
public static void registerPersistent()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
Cloneable
clone
in class DefaultEnvelope
java.lang.CloneNotSupportedException
- 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()}.