public class MapEnvelope
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swigCMemOwn |
| Constructor and Description |
|---|
MapEnvelope()
Constructs an empty MapEnvelope object.
|
MapEnvelope(long cPtr,
boolean cMemoryOwn) |
MapEnvelope(MapBounds bounds)
Constructs a MapEnvelope object using map bounds.
|
MapEnvelope(MapPosVector convexHull)
Constructs a MapEnvelope object from a convex bounding polygon.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(MapEnvelope envelope)
Tests whether this map envelope contains another map envelope.
|
void |
delete() |
boolean |
equals(java.lang.Object obj)
Checks if this object is equal to the specified object.
|
protected void |
finalize() |
MapBounds |
getBounds()
Returns the map bounds of this map envelope.
|
MapPosVector |
getConvexHull()
Returns the convex hull of this map envelope.
|
static long |
getCPtr(MapEnvelope obj) |
int |
hashCode()
Returns the hash value of this object.
|
boolean |
intersects(MapEnvelope envelope)
Tests whether this map envelope intersects with another map envelope.
|
java.lang.String |
toString()
Creates a string representation of this map envelope, useful for logging.
|
public MapEnvelope(long cPtr,
boolean cMemoryOwn)
public MapEnvelope()
public MapEnvelope(MapBounds bounds)
public MapEnvelope(MapPosVector convexHull)
public static long getCPtr(MapEnvelope obj)
protected void finalize()
finalize in class java.lang.Objectpublic void delete()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic MapBounds getBounds()
public MapPosVector getConvexHull()
public boolean contains(MapEnvelope envelope)
envelope - The other map envelope.public boolean intersects(MapEnvelope envelope)
envelope - The other map envelope.public java.lang.String toString()
toString in class java.lang.Object