BuildingData

open class BuildingData

Constructors

Link copied to clipboard
constructor(metadataRepository: MetadataRepository, @NonNull buildingData: BuildingData)

Properties

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

Functions

Link copied to clipboard
open fun getBuildingBoundary(): MapPolygon
Link copied to clipboard
open fun getBuildingEntities(): List<Entity>
Link copied to clipboard
open fun getBuildingPoints(): List<MapPoint>
Returns the building points data.
Link copied to clipboard
open fun getBuildingPolygons(): List<MapPolygon>
Returns the building polygons data.
Link copied to clipboard
open fun getBuildingPolylines(): List<MapPolyline>
Returns the building polylines data.
Link copied to clipboard
Link copied to clipboard
open fun getEntity(entityId: Int): Entity
Link copied to clipboard
open fun getEntityMercatorLocation(entityId: Int): MercatorZone
Returns the Mercator location of the entity with the given id, resolved via the engine's point/polygon/polyline tables.
Link copied to clipboard
open fun getFloorBoundaries(floorId: Int): List<MapPolygon>
Link copied to clipboard
Returns the total number of entities in the building.
Link copied to clipboard
Returns the total number of points across all building floors.
Link copied to clipboard
Returns the total number of polygons across all building floors.
Link copied to clipboard
Returns the total number of polylines across all building floors.
Link copied to clipboard
Deprecated.
Link copied to clipboard
Clears the cached BuildingInfo so the next call to getBuildingInfo re-queries the engine.