AgentVectorSampled

@Serializable
@SerialName(value = "AgentVectorSampled")
data class AgentVectorSampled(val simTime: Double, val agentName: String, val projectionName: String, val vx: Double = Double.NaN, val vy: Double = Double.NaN, val fx: Double = Double.NaN, val fy: Double = Double.NaN) : AnimationEvent(source)

A sampled per-agent velocity (vx,vy) and/or net steering force (fx,fy) for the vector overlay (G10). Rate-limited by the sampler's interval (default 5/sec), decoupled from the model's integration step. A NaN component means it wasn't captured. Opt-in (off by default) — the volume-sensitive overlay.

Constructors

Link copied to clipboard
constructor(simTime: Double, agentName: String, projectionName: String, vx: Double = Double.NaN, vy: Double = Double.NaN, fx: Double = Double.NaN, fy: Double = Double.NaN)

Properties

Link copied to clipboard
Link copied to clipboard
val fx: Double
Link copied to clipboard
val fy: Double
Link copied to clipboard
Link copied to clipboard
open override val simTime: Double
Link copied to clipboard
val vx: Double
Link copied to clipboard
val vy: Double