Building

open class Building : GeoData, MPModelBase

Functions

Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
@Nullable
open fun getAliases(): Array<String>
Get aliases for the building
Link copied to clipboard
@Nullable
open fun getBoundingBox(): Array<Double>
Link copied to clipboard
@Nullable
fun getBoundingBoxAsArray(): Array<Double>
Get the building bounding box
Link copied to clipboard
@NonNull
open fun getCoordinates(): Array<Array<Array<Double>>>
Link copied to clipboard
open fun getDefaultFloorIndex(): Int
Gets this building's default floor index, if any has been set from the CMS
Link copied to clipboard
@Nullable
open fun getField(@Nullable key: String): DataField
An optional space for misc fields
Link copied to clipboard
@Nullable
open fun getFloorByZIndex(index: Int): Floor
Link copied to clipboard
open fun getFloorCount(): Int
Get this building's floor count
Link copied to clipboard
@NonNull
open fun getFloorMap(): HashMap<Integer, String>
Get a list of floor indices and localized names for this building
Link copied to clipboard
@NonNull
open fun getFloorsIndexesNamesMap(): HashMap<Integer, String>
Get a list of floor indices and localized names for this building
Link copied to clipboard
@Nullable
open fun getInitFloor(): Floor
Get the initial floor.
Link copied to clipboard
open fun getInitFloorZIndex(): Int
Get the initial floor level index.
Link copied to clipboard
@Nullable
open fun getLatLngBoundingBox(): LatLngBounds
Link copied to clipboard
@NonNull
open fun getName(): String
Get the name of the building.
Link copied to clipboard
@Nullable
open fun getPerimeter(): LineStringGeometry
Link copied to clipboard
open fun hasFloorIndex(floorIndex: Int): Boolean
Link copied to clipboard
open fun isInside(@Nullable point: Point): Boolean
Link copied to clipboard
open fun toString(): String

Properties

Link copied to clipboard
@SerializedName(value = "address")
@get:NonNull
private open val address: String
Link copied to clipboard
@SerializedName(value = "administrativeId")
@get:NonNull
private open val administrativeId: String
Link copied to clipboard
@SerializedName(value = "anchor")
@get:NonNull
private open var anchor: Point
Link copied to clipboard
@SerializedName(value = "externalId")
@get:NonNull
private open val externalId: String
Link copied to clipboard
@SerializedName(value = "geometry")
@get:NonNull
private open val geometry: PolygonGeometry
Link copied to clipboard
@SerializedName(value = "id")
@get:NonNull
private open val id: String
Link copied to clipboard
@SerializedName(value = "venueId")
@get:NonNull
private open val venueId: String