| java.lang.Object | ||
| ↳ | com.carto.geometry.Geometry | |
| ↳ | com.carto.geometry.PointGeometry | |
Point geometry. Geometry is defined by a single map position.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
PointGeometry(MapPos pos)
Constructs a PointGeometry object from a given map position.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| synchronized void | delete() | ||||||||||
| MapPos |
getCenterPos()
Returns the center point of the geometry.
| ||||||||||
| MapPos |
getPos()
Returns the position of the point.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.carto.geometry.Geometry
| |||||||||||
From class
java.lang.Object
| |||||||||||
Constructs a PointGeometry object from a given map position.
| pos | The map position. |
|---|
Returns the center point of the geometry.