- Derived from
Describes a single element of a road.
Road elements are specified in road-space, which is defined as follows:
The Y-axis depends on the X-coordinate and is always perpendicular to the center-line curve of the road. Positive Y-coordinates are on the right side of the center-line, negative Y-coordinates are on the left side.
Creates a RoadElement object for a road line that is perpendicular to the center-line.
Creates RoadElement objects for a road line that is perpendicular to the center-line and have a stipple pattern.
Creates a RoadElement object for the pavement.
Creates a new instance of RoadElement.
Creates an independent copy of this RoadElement object.
Specifies the bounds of this road element.
The road element bounds, specify an axis-aligned rectangle in road-space. Shape geometry for the road element bounds is generated with ShapeBuilder.Curve.
Defaults to Box2D.Empty.
Specifies the marking type to use for this road element.
Defaults to MarkingType.Default.
Specifies the number of times the road element bounds (see Bounds) shall be repeated along the X- and Y-axes of road-space.
Defaults to Vec2I.Zero, i.e. shape geometry is only generated for the road element bounds, without repeating it.
Specifies the X- and Y-coordinate steps between repetitions of the road element bounds.
Defaults to Vec2D.Zero.