MPINode

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

MPINode represents a position, anchored to a specific MPIMap

Constructors

Link copied to clipboard
constructor(id: String, x: Double? = null, y: Double? = null, externalId: String? = null, accessible: Boolean? = null, paths: List<MPIPathNode>? = null, extra: String? = 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
val extra: String? = null

Contains a JSON string with extra properties of the node.

Link copied to clipboard
open override val id: String

id of the MPINode

Link copied to clipboard
var map: MPIMap?
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