OverlapGroup
R2026bDescription
An OverlapGroup object represents the overlap group a road
belongs to. RoadRunner uses an overlap group to group roads that have overlapping road geometry but
should not produce an automatic junction. Roads assigned to the same
OverlapGroup do not automatically generate a junction where they overlap.
Therefore, an overlap group allows you to control junction creation by preventing the
automatic junction creation.
Creation
You can create an OverlapGroup object in your current RoadRunner scene in these ways:
To retrieve an
OverlapGroupobject from your RoadRunner scene, extract theOverlapGroupproperty of theRoadobject. For example,rrOverlapGroup = rrRoad.OverlapGroupextracts theOverlapGroupobject from theOverlapGroupproperty of the roadrrRoad.You can use the
addOverlapGroupfunction to add a new overlap group to your current RoadRunner scene.
Properties
Examples
Version History
Introduced in R2026b