SpaceDefined

@Serializable
@SerialName(value = "SpaceDefined")
data class SpaceDefined(val simTime: Double, val name: String, val kind: String, val cols: Int = 0, val rows: Int = 0, val cellSize: Double = 1.0, val xMin: Double = 0.0, val xMax: Double = 0.0, val yMin: Double = 0.0, val yMax: Double = 0.0, val torus: Boolean = false) : AnimationEvent(source)

Records an agent projection's spatial dimensions (8K.6a), so the renderer can draw the space backdrop from the trace when the layout omits a gridSpace/continuousSpace. kind is "Grid" (uses cols/rows/cellSize) or "Continuous" (uses xMin/xMax/yMin/yMax).

Constructors

Link copied to clipboard
constructor(simTime: Double, name: String, kind: String, cols: Int = 0, rows: Int = 0, cellSize: Double = 1.0, xMin: Double = 0.0, xMax: Double = 0.0, yMin: Double = 0.0, yMax: Double = 0.0, torus: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard
val cols: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val rows: Int
Link copied to clipboard
open override val simTime: Double
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard