Package com.tomtom.sdk.common.geojson.geometry

Types

Link copied to clipboard
interface Geometry

A Geometry object representing points, curves, or surfaces in World Geodetic System 1984 (WGS 84) or a collection of Geometry objects.

Link copied to clipboard
data class GeometryCollection(val geometries: List<Geometry>, val boundingBox: GeoBoundingBox? = null) : Geometry, GeoJsonObject

A collection of Geometry objects.

Link copied to clipboard
data class LineString(val positions: List<GeoJsonPosition>, val boundingBox: GeoBoundingBox? = null) : Geometry, GeoJsonObject

A GeoJSON Geometry type comprising a collection of two or more GeoCoordinates.

Link copied to clipboard
data class MultiLineString(val lineStrings: List<LineString>, val boundingBox: GeoBoundingBox? = null) : Geometry, GeoJsonObject

A GeoJSON Geometry type comprising a collection of LineStrings.

Link copied to clipboard
data class MultiPoint(val points: List<Point>, val boundingBox: GeoBoundingBox? = null) : Geometry, GeoJsonObject

A GeoJSON Geometry type comprising a collection of Points.

Link copied to clipboard
data class MultiPolygon(val polygons: List<Polygon>, val boundingBox: GeoBoundingBox? = null) : Geometry, GeoJsonObject

A collection of Polygons.

Link copied to clipboard
data class Point(val position: GeoJsonPosition, val boundingBox: GeoBoundingBox? = null) : Geometry, GeoJsonObject

A GeoJSON Geometry type comprising a single GeoCoordinate.

Link copied to clipboard
data class Polygon(    val exteriorRing: LineString,     val interiorRings: List<LineString>,     val boundingBox: GeoBoundingBox? = null) : Geometry, GeoJsonObject

A GeoJSON Geometry type comprising one or more LineStrings. The exterior ring represents the outer edges of a polygon and is a LineString of at least four com.tomtom.sdk.common.location.GeoCoordinate in counterclockwise order. The interior rings (0 or more) - LineStrings of at least four com.tomtom.sdk.common.location.GeoCoordinates in clockwise order - define holes in the polygon. In all cases the first and the last Position in a LineString contain identical values.