maliput
LaneMarkingResult Struct Reference

Detailed Description

Result of querying lane marking at a specific position or range.

This structure pairs a LaneMarking with the s-range over which it is valid. Lane markings can change along the lane (e.g., solid to broken at an intersection approach), so the validity range is essential.

The range uses half-open interval semantics: [s_start, s_end).

#include <include/maliput/api/lane_marking.h>

Public Member Functions

bool operator== (const LaneMarkingResult &other) const
 Compares two LaneMarkingResult instances for equality. More...
 
bool operator!= (const LaneMarkingResult &other) const
 Compares two LaneMarkingResult instances for inequality. More...
 

Public Attributes

LaneMarking marking {}
 The lane marking description. More...
 
double s_start {0.}
 Start s-coordinate where this marking begins [m]. More...
 
double s_end {0.}
 End s-coordinate where this marking ends [m]. More...
 

Member Function Documentation

◆ operator!=()

bool operator!= ( const LaneMarkingResult other) const

Compares two LaneMarkingResult instances for inequality.

◆ operator==()

bool operator== ( const LaneMarkingResult other) const

Compares two LaneMarkingResult instances for equality.

Member Data Documentation

◆ marking

LaneMarking marking {}

The lane marking description.

◆ s_end

double s_end {0.}

End s-coordinate where this marking ends [m].

This is relative to the lane's s-coordinate system.

◆ s_start

double s_start {0.}

Start s-coordinate where this marking begins [m].

This is relative to the lane's s-coordinate system (0 at lane start).


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