Geometry

abstract class Geometry : MPModelBase

Base GeoJSON class for Point, PolygonGeometry, etc.

Author

Daniel Nielsen - Copyright © 2017 MapsPeople A/S. All rights reserved.

See also

<a href="https://tools.ietf.org/html/rfc7946#section-3.1">https://tools.ietf.org/html/rfc7946#section-3.1</a>
<a href="https://tools.ietf.org/html/rfc7946#appendix-A">https://tools.ietf.org/html/rfc7946#appendix-A</a>

Types

Link copied to clipboard
annotation class GeometryType
Link copied to clipboard
annotation class GeometryTypeName

Functions

Link copied to clipboard
@NonNull
open fun asString(): String
@NonNull
open fun asString(iType: Int): String

Properties

Link copied to clipboard
val BBOX_NE_LAT: Int
Link copied to clipboard
val BBOX_NE_LNG: Int
Link copied to clipboard
val BBOX_SW_LAT: Int
Link copied to clipboard
val BBOX_SW_LNG: Int
Link copied to clipboard
@NonNull
val GEOMETRYCOLLECTION: String
Link copied to clipboard
open val iType: Int
Link copied to clipboard
val LAT: Int
Latitude index into the coordinates array
Link copied to clipboard
@NonNull
val LINESTRING: String
Link copied to clipboard
val LNG: Int
Longitude index into the coordinates array
Link copied to clipboard
@NonNull
val MULTILINESTRING: String
Link copied to clipboard
@NonNull
val MULTIPOINT: String
Link copied to clipboard
@NonNull
val MULTIPOLYGON: String
Link copied to clipboard
@NonNull
val POINT: String
Link copied to clipboard
val POINT_AREA: Float
Link copied to clipboard
@NonNull
val POLYGON: String
Link copied to clipboard
@NonNull
@SerializedName(value = "type")
@get:NonNull
protected open val type: String
Link copied to clipboard
val TYPE_GEOMETRYCOLLECTION: Int
Link copied to clipboard
val TYPE_LINESTRING: Int
Link copied to clipboard
val TYPE_MULTILINESTRING: Int
Link copied to clipboard
val TYPE_MULTIPOINT: Int
Link copied to clipboard
val TYPE_MULTIPOLYGON: Int
Link copied to clipboard
val TYPE_POINT: Int
Link copied to clipboard
val TYPE_POLYGON: Int
Link copied to clipboard
val Z: Int
Z / floorIndex index into the coordinates array

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard