Functions
Link copied to clipboard
fun byZoneCount(name: String, fromIntersection: String, toIntersection: String, length: Double, numZones: Int, type: LinkType = LinkType.UNIDIRECTIONAL, velocityFactor: Double = 1.0, beginDirection: Double = 0.0): LinkData
Builds a link from its length and how many zones divide it, deriving the zone length.
Link copied to clipboard
fun byZoneLength(name: String, fromIntersection: String, toIntersection: String, length: Double, zoneLength: Double, type: LinkType = LinkType.UNIDIRECTIONAL, velocityFactor: Double = 1.0, beginDirection: Double = 0.0): LinkData
Builds a link from its length and the zone size the control system enforces, deriving the zone count. Use this when the zone size is the quantity the real system fixes.