roadrunner.hdmap.CurveMarking
Description
A roadrunner.hdmap.CurveMarking
object enables you to define a
curve marking feature in a RoadRunner HD Map scene model.
Creation
Syntax
Description
creates an empty curve marking.curveMarking
= roadrunner.hdmap.CurveMarking
sets the properties of the curve marking using one or more name-value arguments. For
example, curveMarking
= roadrunner.hdmap.CurveMarking(Name=Value
)ID="CurveMarking1"
sets the ID of the curve marking element to
"CurveMarking1"
.
Properties
ID
— ID of curve marking element
character vector | string scalar
ID of the curve marking element, specified as a character vector or string scalar.
Example: rrMap.CurveMarkings
=
roadrunner.hdmap.CurveMarking
(ID
="CurveMarking1"
)
creates a curve marking with ID "CurveMarking1"
in a RoadRunner HD Map.
Data Types: char
| string
Geometry
— 3D coordinates of curve marking points
three-element vector
3D coordinates of the curve marking points, specified as a three element vector. You must specify coordinates for at least two points.
Data Types: double
MarkingTypeReference
— Type of curve marking
roadrunner.hdmap.Reference
object
Type of curve marking, specified as a roadrunner.hdmap.Reference
object.
Flip
— Option to flip curve marking orientation
false
or 0
(default) | true
or 1
Option to flip the curve marking orientation, specified as a logical 0
(false)
or 1 (true)
. Set this property to
true
to laterally flip the order of the curve marking stripes. This
option is applicable only for curve marking types with more than one stripe.
Data Types: logical
Reverse
— Option to reverse curve marking orientation
false
or 0
(default) | true
or 1
Option to reverse the curve marking orientation, specified as a logical 0
(false)
or 1 (true)
. Set this property to
true
to reverse the orientation of curve markings longitudinally,
causing the tool to draw the markings from end to start. This option is applicable only
for marking types with more than one stripe.
Data Types: logical
Metadata
— User-defined ancillary data
roadrunner.hdmap.Metadata
object | vector of roadrunner.hdmap.Metadata
objects
User-defined ancillary data, specified as a
roadrunner.hdmap.Metadata
object or a vector of
roadrunner.hdmap.Metadata
objects. Use a vector of
roadrunner.hdmap.Metadata
objects to assign multiple user-defined
parameters to a curve marking object.
Examples
Add Curve Marking to RoadRunner HD Map
Create an empty RoadRunner HD Map as a default roadrunnerHDMap
object.
rrMap = roadrunnerHDMap
rrMap = roadrunnerHDMap with properties: Author: "" GeoReference: [0 0] GeographicBoundary: [] Lanes: [0x1 roadrunner.hdmap.Lane] SpeedLimits: [0x1 roadrunner.hdmap.SpeedLimit] LaneBoundaries: [0x1 roadrunner.hdmap.LaneBoundary] LaneGroups: [0x1 roadrunner.hdmap.LaneGroup] LaneMarkings: [0x1 roadrunner.hdmap.LaneMarking] Junctions: [0x1 roadrunner.hdmap.Junction] BarrierTypes: [0x1 roadrunner.hdmap.BarrierType] Barriers: [0x1 roadrunner.hdmap.Barrier] SignTypes: [0x1 roadrunner.hdmap.SignType] Signs: [0x1 roadrunner.hdmap.Sign] StaticObjectTypes: [0x1 roadrunner.hdmap.StaticObjectType] StaticObjects: [0x1 roadrunner.hdmap.StaticObject] StencilMarkingTypes: [0x1 roadrunner.hdmap.StencilMarkingType] StencilMarkings: [0x1 roadrunner.hdmap.StencilMarking] CurveMarkingTypes: [0x1 roadrunner.hdmap.CurveMarkingType] CurveMarkings: [0x1 roadrunner.hdmap.CurveMarking]
Create a curve marking by using a roadrunner.hdmap.CurveMarking
object. Specify the curve marking ID.
rrMap.CurveMarkings = roadrunner.hdmap.CurveMarking(ID="CurveMarking1")
rrMap = roadrunnerHDMap with properties: Author: "" GeoReference: [0 0] GeographicBoundary: [] Lanes: [0x1 roadrunner.hdmap.Lane] SpeedLimits: [0x1 roadrunner.hdmap.SpeedLimit] LaneBoundaries: [0x1 roadrunner.hdmap.LaneBoundary] LaneGroups: [0x1 roadrunner.hdmap.LaneGroup] LaneMarkings: [0x1 roadrunner.hdmap.LaneMarking] Junctions: [0x1 roadrunner.hdmap.Junction] BarrierTypes: [0x1 roadrunner.hdmap.BarrierType] Barriers: [0x1 roadrunner.hdmap.Barrier] SignTypes: [0x1 roadrunner.hdmap.SignType] Signs: [0x1 roadrunner.hdmap.Sign] StaticObjectTypes: [0x1 roadrunner.hdmap.StaticObjectType] StaticObjects: [0x1 roadrunner.hdmap.StaticObject] StencilMarkingTypes: [0x1 roadrunner.hdmap.StencilMarkingType] StencilMarkings: [0x1 roadrunner.hdmap.StencilMarking] CurveMarkingTypes: [0x1 roadrunner.hdmap.CurveMarkingType] CurveMarkings: [1x1 roadrunner.hdmap.CurveMarking]
Version History
Introduced in R2024b
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)