maliput_malidrive
PlanView Struct Reference

Detailed Description

Holds the plan view geometry description of a XODR road.

For example, a XML node describing a XODR's header:

<OpenDRIVE>
...
<road name="Road 0" length="1.4005927435591335e+2" id="0" junction="-1">
<planView>
<geometry s="0.0000000000000000e+0" x="0.0000000000000000e+0" y="0.0000000000000000e+0"
hdg="1.3734007669450161e+0" length="1.4005927435591335e+2">
<line/>
</geometry>
</planView>
...
</road>
...
</OpenDRIVE>

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

Public Member Functions

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

Public Attributes

std::vector< Geometrygeometries {}
 Contains the geometries which define the layout of the road's reference line in the x/y-plane(plan view). More...
 

Static Public Attributes

static constexpr const char * kPlanViewTag = "planView"
 

Member Function Documentation

◆ operator!=()

bool operator!= ( const PlanView other) const

Inequality operator.

◆ operator==()

bool operator== ( const PlanView other) const

Equality operator.

Member Data Documentation

◆ geometries

std::vector<Geometry> geometries {}

Contains the geometries which define the layout of the road's reference line in the x/y-plane(plan view).

◆ kPlanViewTag

constexpr const char* kPlanViewTag = "planView"
staticconstexpr

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