MPMultiPolygonGeometry

open class MPMultiPolygonGeometry : MPGeometry

MapsIndoors GeoJSON's MultiPolygon implementation

Constructors

Link copied to clipboard
open fun MPMultiPolygonGeometry()

Functions

Link copied to clipboard
open fun asString(): String
open fun asString(iType: Int): String
Link copied to clipboard
open fun getArea(): Float
Link copied to clipboard
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 getCoordinates(): Array<Array<Array<Array<Double>>>>
Link copied to clipboard
open fun getIType(): Int
Link copied to clipboard
open fun getLatLngBounds(): MPLatLngBounds
Link copied to clipboard
open fun getPosition(): MPPoint
Method to get the (average) point of the geometry
Link copied to clipboard
open fun getSquaredDistanceToClosestEdge(@NonNull point: MPPoint): Float
open fun getSquaredDistanceToClosestEdge(@NonNull latLng: MPLatLng): Float
Link copied to clipboard
open fun getType(): String
Link copied to clipboard
open fun isInside(@NonNull point: MPPoint): Boolean
open fun isInside(@NonNull latLng: MPLatLng): Boolean
Link copied to clipboard
open fun setBBox(@NonNull bbox: Array<Double>)
Link copied to clipboard
open fun setCoordinates(@NonNull coordinates: Array<Array<Array<Array<Double>>>>)
Link copied to clipboard
open fun toGeoJSONFeature(): String
Creates a GeoJSON feature JSON string for this geometry
Link copied to clipboard
open fun toMPPolygonGeometries(): List<MPPolygonGeometry>
Link copied to clipboard
open fun toString(): String