BaseMapBuildingFloor

abstract class BaseMapBuildingFloor

Class that contains information for a floor within a building. Encapsulates waypoints (Waypoint) that are on this floor.

Inheritors

Functions

Link copied to clipboard
open fun addEdge(nodeOneId: String, nodeTwoId: String)
Adds an edge that connects two waypoints.
Link copied to clipboard
open fun addMapUnit(mapUnit: MapUnit)
Link copied to clipboard
open fun addWaypoint(wp: Waypoint)
Adds a waypoint to the floor.
Link copied to clipboard
open fun findClosestWaypoint(location: LatLng): Waypoint
Link copied to clipboard
open fun getEdges(): List<Edge>
Link copied to clipboard
open fun getElevatorEdges(): List<Edge>
This will be used to dynamically add/remove elevators from the Dijkstra graph.
Link copied to clipboard
open fun getExitEdges(): List<Edge>
This will be used to dynamically add/remove exits from the Dijkstra graph.
Link copied to clipboard
open fun getMapUnit(mapUnitId: String): MapUnit
Link copied to clipboard
Helper getter to return just the values of the map since that is typically all that is needed.
Link copied to clipboard
Link copied to clipboard
open fun getStairEdges(): List<Edge>
This will be used to dynamically add/remove stairs from the Dijkstra graph.
Link copied to clipboard
open fun getWaypointWithId(nodeId: String): Waypoint
Finds a waypoint with a given ID.
Link copied to clipboard
Link copied to clipboard
open fun toString(): String

Properties

Link copied to clipboard
open var cateogry: String
Link copied to clipboard
Link copied to clipboard
open val edgeCollection: EdgeCollection
Link copied to clipboard
open val elevatorEdgeCollection: EdgeCollection
Link copied to clipboard
open val exitEdgeCollection: EdgeCollection
Link copied to clipboard
open val floorNumber: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var id: String
Link copied to clipboard
open var legacyId: String
Link copied to clipboard
Link copied to clipboard
open var name: String
Link copied to clipboard
open var ordinal: Int
Link copied to clipboard
open var placeId: String
Link copied to clipboard
open val stairEdgeCollection: EdgeCollection
Link copied to clipboard
Link copied to clipboard