| java.lang.Object | ||
| ↳ | com.carto.geometry.Geometry | |
| ↳ | com.carto.geometry.LineGeometry | |
Line geometry defined by a list of map positions.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
LineGeometry(MapPosVector poses)
Constructs a new LineGeometry object from a map position list.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| synchronized void | delete() | ||||||||||
| MapPos |
getCenterPos()
Returns the center point of the geometry.
| ||||||||||
| MapPosVector |
getPoses()
Returns the list of of map positions defining the line.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.carto.geometry.Geometry
| |||||||||||
From class
java.lang.Object
| |||||||||||
Constructs a new LineGeometry object from a map position list.
| poses | The map position list. |
|---|
Returns the center point of the geometry.
Returns the list of of map positions defining the line.