MPINode

data class MPINode(    val id: String,     val x: Double? = null,     val y: Double? = null,     val map: String? = null,     val externalId: String? = null,     val accessible: Boolean? = null,     val paths: List<MPIPathNode>? = null) : MPINavigatable

MPINode represents a position, anchored to a specific MPIMap

Constructors

Link copied to clipboard
fun MPINode(    id: String,     x: Double? = null,     y: Double? = null,     map: String? = null,     externalId: String? = null,     accessible: Boolean? = null,     paths: List<MPIPathNode>? = null)

Properties

Link copied to clipboard
val accessible: Boolean? = null

If MPINode is accessible, accessible is set to true; otherwise, it is false.

Link copied to clipboard
val externalId: String? = null
Link copied to clipboard
open override val id: String

id of the MPINode

Link copied to clipboard
val map: String? = null

Optional id string of the map where MPINode is at.

Link copied to clipboard
val paths: List<MPIPathNode>? = null

Adjacent nodes of the MPINode

Link copied to clipboard
val x: Double? = null

The x coordinate of the MPINode

Link copied to clipboard
val y: Double? = null

The y coordinate of the MPINode