maliput_sparse
LaneMarkingLine Struct Reference

Detailed Description

Represents a single line in a lane marking (for complex markings with multiple lines).

#include <include/maliput_sparse/parser/lane_marking.h>

Public Member Functions

bool operator== (const LaneMarkingLine &other) const
 Equality operator. More...
 
bool operator!= (const LaneMarkingLine &other) const
 Inequality operator. More...
 

Public Attributes

double length {0.}
 Length of the visible (painted) part of each dash, in meters. More...
 
double space {0.}
 Length of the gap between visible parts, in meters. More...
 
double width {0.}
 Width of this line, in meters. More...
 
double r_offset {0.}
 Lateral offset from the lane boundary, in meters. More...
 
maliput::api::LaneMarkingColor color {maliput::api::LaneMarkingColor::kUnknown}
 Color of this line. More...
 

Member Function Documentation

◆ operator!=()

bool operator!= ( const LaneMarkingLine other) const

Inequality operator.

◆ operator==()

bool operator== ( const LaneMarkingLine other) const

Equality operator.

Member Data Documentation

◆ color

maliput::api::LaneMarkingColor color {maliput::api::LaneMarkingColor::kUnknown}

Color of this line.

◆ length

double length {0.}

Length of the visible (painted) part of each dash, in meters.

For solid lines, this should be 0 (value is ignored).

◆ r_offset

double r_offset {0.}

Lateral offset from the lane boundary, in meters.

Positive values offset in the positive r-direction (towards the lane's left).

◆ space

double space {0.}

Length of the gap between visible parts, in meters.

For solid lines, this should be 0.

◆ width

double width {0.}

Width of this line, in meters.


The documentation for this struct was generated from the following file: