linkWithZoneCount

fun linkWithZoneCount(name: String, from: String, to: String, length: Double, numZones: Int, type: LinkType = LinkType.UNIDIRECTIONAL, velocityFactor: Double = 1.0, beginDirection: Double = 0.0): GuidedPathNetwork.Builder(source)

Adds a link whose zone count is known, deriving the zone size. This form cannot produce a geometry mismatch and is the safer choice when the count is what the modeler knows.