sdk-common / com.tomtom.online.sdk.common.geojson.geometry

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

Types

Geometry

abstract class Geometry : GeoJsonObject, Serializable

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

GeometryCollection

open class GeometryCollection : Geometry

A collection of Geometry objects.

LineString

open class LineString : Geometry

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

MultiLineString

open class MultiLineString : Geometry

A GeoJSON Geometry type comprising a collection of LineStrings.

MultiLineStringBuilder

class MultiLineStringBuilder

A GeoJSON Geometry type comprising a collection of LineStrings.

MultiPoint

open class MultiPoint : Geometry

A GeoJSON Geometry type comprising a collection of LatLngs.

MultiPointBuilder

class MultiPointBuilder

A GeoJSON Geometry type comprising a collection of LatLngs.

MultiPolygon

open class MultiPolygon : Geometry

A collection of Polygons.

MultiPolygonBuilder

class MultiPolygonBuilder

A collection of Polygon.

Point

open class Point : Geometry

A GeoJSON Geometry type comprising a single LatLng.

PointBuilder

class PointBuilder

A GeoJSON Geometry type comprising a single {@link LatLng}.

Polygon

open class Polygon : Geometry

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.online.sdk.common.location.LatLng in counterclockwise order. The interior rings (0 or more) - LineStrings of at least four com.tomtom.online.sdk.common.location.LatLngs in clockwise order - define holes in the polygon. In all cases the first and the last Position in a LineString contain identical values.

PolygonBuilder

class PolygonBuilder

A GeoJSON Geometry type comprising one or more LineString.