link

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

Adds a link whose zone size is known, deriving how many zones divide it. Intersections are created on first mention.


Adds a fully specified link.