LinkZone

One of the equal zones that divide a link.

Its length and velocity factor come from the owning link, so that the geometry of a link is stated once and cannot drift between its zones.

Parameters

id

index within the network's zone list

link

the owning link

positionOnLink

the one-based position from the link's beginning intersection

Properties

Link copied to clipboard
open override val id: Int
Link copied to clipboard

True when this is the zone a forward traversal of the link enters first.

Link copied to clipboard

True when this is the last zone before a forward traversal reaches the ending intersection.

Link copied to clipboard
open override val isOnAThroughRoute: Boolean

True unless the owning link is a spur, which nothing passes through.

Link copied to clipboard
open override val length: Double

The distance a transporter travels to cross this zone, in the modeler's units. Strictly positive for a link zone. Zero is permitted for an intersection zone, which represents a junction treated as a point: crossing it takes no time, but it is still held exclusively.

Link copied to clipboard
val link: Link
Link copied to clipboard
open override val name: String

Unique within the network, and the name used in messages, traces, and statistics.

Link copied to clipboard
Link copied to clipboard
open override val velocityFactor: Double

Multiplies transporter velocity while crossing this zone. Strictly positive.