public class PolygonGeometry extends Geometry
swigCMemOwn
构造器和说明 |
---|
PolygonGeometry(long cPtr,
boolean cMemoryOwn) |
PolygonGeometry(MapPosVector poses)
Constructs a PolygonGeometry objects from an outer ring.
|
PolygonGeometry(MapPosVector poses,
MapPosVectorVector holes)
Constructs a PolygonGeometry objects from an outer ring and list of inner rings (holes).
|
PolygonGeometry(MapPosVectorVector rings)
Constructs a PolygonGeometry objects from a list of rings.
|
限定符和类型 | 方法和说明 |
---|---|
void |
delete() |
protected void |
finalize() |
MapPos |
getCenterPos()
Returns the center point of the geometry.
|
static long |
getCPtr(PolygonGeometry obj) |
MapPosVectorVector |
getHoles()
Returns the list of map position lists defining the inner rings of the polygon (holes).
|
int |
getPointCount() |
MapPosVector |
getPoses()
Returns the list of map positions defining the outer ring of the polygon.
|
MapPosVectorVector |
getRings()
Returns the list of map position lists defining the rings of the polygon.
|
static PolygonGeometry |
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 PolygonGeometry(long cPtr, boolean cMemoryOwn)
public PolygonGeometry(MapPosVector poses)
poses
- The list of map positions defining the outer ring.public PolygonGeometry(MapPosVector poses, MapPosVectorVector holes)
poses
- The list of map positions defining the outer ring.holes
- The list of map position lists defining the inner rings.public PolygonGeometry(MapPosVectorVector rings)
rings
- The list of map position lists defining the ringspublic static long getCPtr(PolygonGeometry obj)
public static PolygonGeometry swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
cPtr
- The native pointer of the instance.cMemoryOwn
- The ownership flag.public MapPos getCenterPos()
Geometry
getCenterPos
在类中 Geometry
public MapPosVector getPoses()
public MapPosVectorVector getHoles()
public MapPosVectorVector getRings()
public int getPointCount()
public java.lang.String swigGetClassName()
swigGetClassName
在类中 Geometry
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
在类中 Geometry