location

fun location(name: String, x: Double, y: Double)(source)

Declare a named location (a landmark / point of interest) at (x, y) in this context's space — a depot, drop-off, station, etc. Like attachGeometry, this is for animation/extraction only: the animation layer surfaces and places it (no hand-authored layout needed); it does not change simulation behavior. Re-declaring a name overwrites its position.


fun location(name: String, point: Point2D)(source)

Declares a named location at point.


fun location(name: String, point: Point3D)(source)

Declares a named location at point, flattening 3-D to its x–y footprint (G8).