open class Polygon : Geometry
A GeoJSON Geometry type comprising one or more LineString
s. The exterior ring represents the outer edges of a polygon and is a LineString
of at least four com.tomtom.online.sdk.common.location.LatLng
in counterclockwise order. The interior rings (0 or more) - LineString
s of at least four com.tomtom.online.sdk.common.location.LatLng
s in clockwise order - define holes in the polygon. In all cases the first and the last Position in a LineString contain identical values.
Polygon()
Default constructor for |
var exteriorRing: LineString! |
|
var interiorRings: MutableList<LineString!>! |
open fun accept(visitor: GeoJsonObjectVisitor!): Unit |
|
open fun addInteriorRing(lineString: LineString!): Unit |
|
open fun getExteriorRing(): LineString
Returns a |
|
open fun getInteriorRings(): ImmutableList<LineString!>!
Returns a collection of 0 or more |