public class MultiGeometry extends Geometry
swigCMemOwn
构造器和说明 |
---|
MultiGeometry(GeometryVector geometries)
Constructs a MultiGeometry from a vector of geometry objects.
|
MultiGeometry(long cPtr,
boolean cMemoryOwn) |
限定符和类型 | 方法和说明 |
---|---|
void |
delete() |
protected void |
finalize() |
MapPos |
getCenterPos()
Returns the center point of the geometry.
|
static long |
getCPtr(MultiGeometry obj) |
Geometry |
getGeometry(int index)
Returns the geometry at the specified index.
|
int |
getGeometryCount()
Returns the number of geometry objects in this multi geometry container.
|
static MultiGeometry |
swigCreatePolymorphicInstance(long cPtr,
boolean cMemoryOwn)
Creates a polymorphic instance of the given native object.
|
java.lang.String |
swigGetClassName()
Returns the actual class name of this object.
|
java.lang.Object |
swigGetDirectorObject()
Returns the connected director object.
|
public MultiGeometry(long cPtr, boolean cMemoryOwn)
public MultiGeometry(GeometryVector geometries)
geometries
- The geometries for multi geometry.public static long getCPtr(MultiGeometry obj)
public static MultiGeometry swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
cPtr
- The native pointer of the instance.cMemoryOwn
- The ownership flag.public MapPos getCenterPos()
Geometry
getCenterPos
在类中 Geometry
public int getGeometryCount()
public Geometry getGeometry(int index)
index
- The index of the geometry.java.lang.IndexOutOfBoundsException
- If the index is out of range.public java.lang.String swigGetClassName()
swigGetClassName
在类中 Geometry
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
在类中 Geometry