MultiPolygonGeometry

open class MultiPolygonGeometry : Geometry

MapsIndoors GeoJSON's MultiPolygon implementation

Author

Jose J Varó - Copyright © 2018 MapsPeople A/S. All rights reserved.

Constructors

Link copied to clipboard
open fun MultiPolygonGeometry()

Functions

Link copied to clipboard
@NonNull
open fun asString(): String
@NonNull
open fun asString(iType: Int): String
Link copied to clipboard
@Nullable
open fun getBBox(): Array<Double>
The values of a "bbox" array are "[west, south, east, north]", not "[minx, miny, maxx, maxy]"
Link copied to clipboard
open fun getIType(): Int
Link copied to clipboard
@Nullable
open fun getPosition(): Point
Method to get the (average) point of the geometry
Link copied to clipboard
open fun getSquaredDistanceToClosestEdge(@NonNull latLng: LatLng): Float
open fun getSquaredDistanceToClosestEdge(@NonNull point: Point): Float
Link copied to clipboard
@NonNull
open fun getType(): String
Link copied to clipboard
open fun isInside(@NonNull latLng: LatLng): Boolean
open fun isInside(@NonNull point: Point): Boolean
Link copied to clipboard
open fun setBBox(@NonNull bbox: Array<Double>)
Link copied to clipboard
@NonNull
open fun toString(): String

Properties

Link copied to clipboard
protected open val area: Float
Link copied to clipboard
@SerializedName(value = "coordinates")
@NonNull
@get:NonNull
protected open var coordinates: Array<Array<Array<Array<Double>>>>
Link copied to clipboard
@get:NonNull
private open val latLngBounds: LatLngBounds