SpatialElementMoved

@Serializable
@SerialName(value = "SpatialElementMoved")
data class SpatialElementMoved(val simTime: Double, val name: String, val fromX: Double, val fromY: Double, val fromZ: Double = 0.0, val toX: Double, val toY: Double, val toZ: Double = 0.0, val velocity: Double, val duration: Double, val arrivalTime: Double, val fromLocationName: String? = null, val toLocationName: String? = null, val mode: MoverMode = MoverMode.EMPTY, val carriedEntityId: Long? = null, val carriedEntityType: String? = null) : AnimationEvent(source)

A named spatial element (e.g. a movable/transport resource) started moving (8K.5). Mirrors MoveStarted but is keyed by name (the spatial element's name) rather than an entity id, so the renderer can animate the resource itself — including empty repositioning that carries no entity. Carries location names so coordinate-free spaces (DistancesModel) resolve by name (8H.3).

Constructors

Link copied to clipboard
constructor(simTime: Double, name: String, fromX: Double, fromY: Double, fromZ: Double = 0.0, toX: Double, toY: Double, toZ: Double = 0.0, velocity: Double, duration: Double, arrivalTime: Double, fromLocationName: String? = null, toLocationName: String? = null, mode: MoverMode = MoverMode.EMPTY, carriedEntityId: Long? = null, carriedEntityType: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard

The carried entity when mode is TRANSPORTING (else null), so the renderer can draw it on the mover.

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

Why the mover is moving (10.8/C2): EMPTY repositioning, TRANSPORTING an entity, or RETURNING_HOME.

Link copied to clipboard
Link copied to clipboard
open override val simTime: Double
Link copied to clipboard
Link copied to clipboard
val toX: Double
Link copied to clipboard
val toY: Double
Link copied to clipboard
val toZ: Double
Link copied to clipboard