public class Polygon3D extends VectorElement
swigCMemOwn
Constructor and Description |
---|
Polygon3D(long cPtr,
boolean cMemoryOwn) |
Polygon3D(MapPosVector poses,
MapPosVectorVector holes,
Polygon3DStyle style,
float height)
Constructs a Polygon3D object from a vector of map positions, a vector of holes and a style.
|
Polygon3D(MapPosVector poses,
Polygon3DStyle style,
float height)
Constructs a Polygon3D object from a vector of map positions and a style.
|
Polygon3D(PolygonGeometry geometry,
Polygon3DStyle style,
float height)
Constructs a Polygon3D object from a geometry object and a style.
|
Modifier and Type | Method and Description |
---|---|
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(Polygon3D obj) |
PolygonGeometry |
getGeometry()
Returns the geometry object that defines the location of this vector element.
|
float |
getHeight()
Returns the height of this 3d polygon.
|
MapPosVectorVector |
getHoles()
Returns the holes of the 3d polygon.
|
MapPosVector |
getPoses()
Returns the vertices that define this 3d polygon.
|
Polygon3DStyle |
getStyle()
Returns the style of this 3d polygon.
|
void |
setGeometry(PolygonGeometry geometry)
Sets the location for this 3d polygon.
|
void |
setHeight(float height)
Sets the height for this 3d polygon.
|
void |
setHoles(MapPosVectorVector holes)
Sets the holes of the 3d polygon.
|
void |
setPoses(MapPosVector poses)
Sets the vertices that define this 3d polygon.
Note: holes are not affected by this call. |
void |
setStyle(Polygon3DStyle style)
Sets the style for this 3d polygon.
|
static Polygon3D |
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.
|
equals, getBounds, getCPtr, getId, getMetaData, getMetaDataElement, hashCode, isVisible, notifyElementChanged, setId, setMetaData, setMetaDataElement, setVisible
public Polygon3D(long cPtr, boolean cMemoryOwn)
public Polygon3D(PolygonGeometry geometry, Polygon3DStyle style, float height)
geometry
- The geometry object that defines the location and holes of this 3d polygon.style
- The style that defines what this 3d polygon looks like.height
- The height of this 3d polygon in meters.public Polygon3D(MapPosVector poses, Polygon3DStyle style, float height)
poses
- The vector of map positions that defines the location of this 3d polygon.style
- The style that defines what this 3d polygon looks like.height
- The height of this 3d polygon in meters.public Polygon3D(MapPosVector poses, MapPosVectorVector holes, Polygon3DStyle style, float height)
poses
- The vector of map positions that defines the location of this 3d polygon.holes
- The vector of holes that defines the locations of holes of this 3d polygon.style
- The style that defines what this 3d polygon looks like.height
- The height of this 3d polygon in meters.public static long getCPtr(Polygon3D obj)
protected void finalize()
finalize
in class VectorElement
public void delete()
delete
in class VectorElement
public static Polygon3D swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public PolygonGeometry getGeometry()
VectorElement
getGeometry
in class VectorElement
public void setGeometry(PolygonGeometry geometry)
geometry
- The new geometry object that defines the location and holes of this 3d polygon.public MapPosVector getPoses()
public void setPoses(MapPosVector poses)
poses
- The new vector of map positions that define this 3d polygon.public MapPosVectorVector getHoles()
public void setHoles(MapPosVectorVector holes)
holes
- The list of holes of the 3d polygon.public float getHeight()
public void setHeight(float height)
height
- The new height for this 3d polygon in meters.public Polygon3DStyle getStyle()
public void setStyle(Polygon3DStyle style)
style
- The new style that defines what this 3d polygon looks like.public java.lang.String swigGetClassName()
swigGetClassName
in class VectorElement
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
in class VectorElement