maliput_malidrive
ElevationProfile Struct Reference

Detailed Description

Contains a series of elevation records which define the characteristics of the road's elevation along the reference line.

For example, a XML node describing a elevationProfile header:

<OpenDRIVE>
...
<elevationProfile>
<elevation s="1.12459e+1" a="3.037354772e+0" b="-3.505664e-3" c="-3.38446126e-5" d="0.00000e+0"/>
<elevation s="2.12459e+1" a="4.037354772e+0" b="-5.505664e-5" c="-6.38446126e-5" d="1.00000e+0"/>
...
</elevationProfile>
...
</OpenDRIVE>

#include <src/maliput_malidrive/xodr/elevation_profile.h>

Classes

struct  Elevation
 The elevation record defines an elevation entry at a given reference line position. More...
 

Public Member Functions

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

Public Attributes

std::vector< Elevationelevations {}
 Contains the Elevations that describe the elevation of a Road. More...
 

Static Public Attributes

static constexpr const char * kElevationProfileTag = "elevationProfile"
 

Member Function Documentation

◆ operator!=()

bool operator!= ( const ElevationProfile other) const

Inequality operator.

◆ operator==()

bool operator== ( const ElevationProfile other) const

Equality operator.

Member Data Documentation

◆ elevations

std::vector<Elevation> elevations {}

Contains the Elevations that describe the elevation of a Road.

◆ kElevationProfileTag

constexpr const char* kElevationProfileTag = "elevationProfile"
staticconstexpr

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