maliput_malidrive
|
Holds the values of a XODR Lane Width.
For example, a XML node describing a XODR's lane width:
#include <src/maliput_malidrive/xodr/lane_width.h>
Public Member Functions | |
bool | operator== (const LaneWidth &other) const |
Equality operator. More... | |
bool | operator!= (const LaneWidth &other) const |
Inequality operator. More... | |
Public Attributes | |
double | s_0 {} |
Start position (s-coordinate) relative to the position of the preceding laneSection. More... | |
double | a {} |
Coefficients of a cubic polynomial: \(a + b * p + c * p^2 + d * p^3\). More... | |
double | b {} |
double | c {} |
double | d {} |
Static Public Attributes | |
static constexpr const char * | kLaneWidthTag = "width" |
Convenient constants that hold the tag names in the XODR width description. More... | |
static constexpr const char * | kOffset = "sOffset" |
static constexpr const char * | kA = "a" |
static constexpr const char * | kB = "b" |
static constexpr const char * | kC = "c" |
static constexpr const char * | kD = "d" |
bool operator!= | ( | const LaneWidth & | other | ) | const |
Inequality operator.
bool operator== | ( | const LaneWidth & | other | ) | const |
Equality operator.
double a {} |
Coefficients of a cubic polynomial: \(a + b * p + c * p^2 + d * p^3\).
double b {} |
double c {} |
double d {} |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Convenient constants that hold the tag names in the XODR width description.
|
staticconstexpr |
double s_0 {} |
Start position (s-coordinate) relative to the position of the preceding laneSection.