maliput_malidrive
DBManager::XodrGeometriesToSimplify Struct Reference

Detailed Description

Defines a structure that informs which actions can be performed to simplify the map geometry description.

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

Public Types

enum  Action { kReplaceByLine, kReplaceByArc }
 Defines actions that a builder tools may opt to do to simplify the geometry model. More...
 

Public Attributes

RoadHeader::Id road_header_id {"none"}
 
Action action {Action::kReplaceByLine}
 
std::vector< int > geometries {}
 

Member Enumeration Documentation

◆ Action

enum Action
strong

Defines actions that a builder tools may opt to do to simplify the geometry model.

Enumerator
kReplaceByLine 

All the geometries in the vector might be replaced by one line whose length is the total length of the listed geometries.

The heading would be the same as the first geometry.

kReplaceByArc 

All the geometries in the vector might be replaced by one arc whose length is the total length of the listed geometries and the curvature is the same as the first geometry.

The heading would be the same as the first geometry.

Member Data Documentation

◆ action

◆ geometries

std::vector<int> geometries {}

◆ road_header_id

RoadHeader::Id road_header_id {"none"}

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