Class Overview
A multipolygon container.
Summary
[Expand]
Inherited Methods |
From class
com.carto.geometry.MultiGeometry
|
From class
com.carto.geometry.Geometry
synchronized
void
|
delete()
|
boolean
|
equals(Object obj)
Checks if this object is equal to the specified object.
|
MapBounds
|
getBounds()
Returns the minimal bounds for the geometry.
|
MapPos
|
getCenterPos()
Returns the center point of the geometry.
|
int
|
hashCode()
Returns the hash value of this object.
|
|
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
Constructs a MultiPolygonGeometry from the vector of polygons.
Parameters
geometries |
The vector of polygon geometries.
|
Public Methods
public
synchronized
void
delete
()
public
PolygonGeometry
getGeometry
(int index)
Returns the polygon geometry at the specified index. Index must be between 0 and getGeometryCount (exclusive)
Parameters
index |
The index of the polygon geometry.
|
Returns
- The polygon geometry at specified index.
Throws
IndexOutOfBoundsException
| If the index is out of range.
|