Skip to content
Select language:English

MDK 3.7.3

class Floor : LocalAffineFrame

Represents a floor in a building.

This class encapsulates the properties and functionalities associated with a specific floor, including its unique identifier, name, level, dimensions, and geographical boundaries.

Properties

val id: String

The unique identifier of the floor.

val level: Int

The level of the floor within the building.

The name of the floor.

The payload associated with the floor, if any.

The format of the payload associated with the floor, if any.

The quota of the floor in meters.

Inherited properties

val bottomRight: Coord2D
val origin: Coord2D
val sys: LocalCoordinateSystem
val topLeft: Coord2D

Functions

suspend fun requestImage(fallback: Boolean = true): ByteArray

Requests the image of the floor.

suspend fun requestImageFile(fallback: Boolean = true): String

Requests the filename (including path) of the image of the floor.

Inherited functions

fun contains(location: Coord2D): Boolean
fun contains(longitude: Double, latitude: Double): Boolean
open override fun toLocal2d(longitude: Double, latitude: Double): Vec2d
fun toLocal2d(coord: Coord2D): Vec2d
open override fun toLocal2f(longitude: Double, latitude: Double): Vec2f
fun toLocal2f(coord: Coord2D): Vec2f
open override fun toLocal3d(longitude: Double, latitude: Double, elevation: Float, sys: LocalCoordinateSystem): Vec3d
fun toLocal3d(coord: Coord3D, sys: LocalCoordinateSystem): Vec3d
open override fun toLocal3f(longitude: Double, latitude: Double, elevation: Float, sys: LocalCoordinateSystem): Vec3f
fun toLocal3f(coord: Coord3D, sys: LocalCoordinateSystem): Vec3f
open override fun toWGS84(v: Vec3d, sys: LocalCoordinateSystem): Coord3D
open override fun toWGS84(v: Vec3f, sys: LocalCoordinateSystem): Coord3D
open override fun toWGS84(east: Double, north: Double): Coord2D
fun toWGS84(v: Vec2d): Coord2D
fun toWGS84(v: Vec2f): Coord2D
fun toWGS84(east: Float, north: Float): Coord2D