SpanSequence
Description
The SpanSequence
object represents a sequence of nodes
connected by spans between each pair of adjacent nodes.
A span sequence is an ordered collection of control points called nodes, connected by spans that define the shape and continuity of a road element, such as a reference line, lane marking, lane width profile, or elevation profile. Each node specifies a position along the road with associated attributes, such as, curvature, elevation, or width, while each span interpolates between two adjacent nodes to generate a smooth geometric transition.
A span sequence represents the following:
For lane reference line, it defines the road alignment or vehicle trajectory.
For lane marking profiles, it describes how markings change over distance, such as,transitions between dashed and solid lines.
For lane width profiles, it models how lane widths vary along the length of the road.
Creation
To retrieve a SpanSequence
object, extract the
LaneMarkingProfile
property or the WidthProfile
property of a lane or a reference lane in your RoadRunner scene. For example, given the Lane
object,
rrLane
, markingProfile = rrLane.LaneMarkingProfile
extracts the LaneMarkingProfile
property of the lane, which is a
SpanSequence
object. The marking profile is composed of a sequence of
parametric spans, represented as an ordered collection of nodes connected by spans between
each pair of adjacent nodes. Each node in the span sequence marks a specific location along
the road at a certain distance, which is measured relative to the road, starting from the
first node of the road’s reference line. The span, between each pair of adjacent nodes can
have its own marking style.
Properties
Object Functions
Examples
Version History
Introduced in R2025a
See Also
SpanSequenceNode
(RoadRunner) | SpanSequenceSpan
(RoadRunner)