public class MapEnvelope
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
protected boolean |
swigCMemOwn |
构造器和说明 |
---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
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)
bounds
- The bounds for the envelope.public MapEnvelope(MapPosVector convexHull)
convexHull
- The list of convex hull points.public static long getCPtr(MapEnvelope obj)
protected void finalize()
finalize
在类中 java.lang.Object
public void delete()
public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object
obj
- The reference object.public int hashCode()
hashCode
在类中 java.lang.Object
public 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
在类中 java.lang.Object