Public Member Functions | Public Attributes | Private Member Functions | List of all members
lanelet::routing::tests::RoutingGraphTestData Class Reference

#include <test_routing_map.h>

Public Member Functions

void addAreaPedestrian (const LineStrings3d &outerBound)
 
void addLaneletPedestrian (const LineString3d &left, const LineString3d &right)
 
void addLaneletVehicle (const LineString3d &left, const LineString3d &right)
 
void addLine (const Points3d &points)
 
void addPoint (double x, double y, double z)
 
 RoutingGraphTestData ()
 

Public Attributes

Id areaId {3000}
 
std::unordered_map< Id, Areaareas
 
RoutingGraphPtr bicycleGraph
 
const double laneChangeCost {2.}
 
Id laneletId {2000}
 
LaneletMapPtr laneletMap
 
std::unordered_map< Id, Laneletlanelets
 
Id lineId {1000}
 
std::unordered_map< Id, LineString3dlines
 
RoutingGraphPtr pedestrianGraph
 
Id pointId {0}
 
std::unordered_map< Id, Point3dpoints
 
RoutingGraphPtr vehicleGraph
 

Private Member Functions

void initAreas ()
 
void initLanelets ()
 
void initLineStrings ()
 
void initPoints ()
 

Detailed Description

Definition at line 44 of file test_routing_map.h.

Constructor & Destructor Documentation

◆ RoutingGraphTestData()

lanelet::routing::tests::RoutingGraphTestData::RoutingGraphTestData ( )
inline

Definition at line 46 of file test_routing_map.h.

Member Function Documentation

◆ addAreaPedestrian()

void lanelet::routing::tests::RoutingGraphTestData::addAreaPedestrian ( const LineStrings3d outerBound)
inline

Definition at line 82 of file test_routing_map.h.

◆ addLaneletPedestrian()

void lanelet::routing::tests::RoutingGraphTestData::addLaneletPedestrian ( const LineString3d left,
const LineString3d right 
)
inline

Definition at line 75 of file test_routing_map.h.

◆ addLaneletVehicle()

void lanelet::routing::tests::RoutingGraphTestData::addLaneletVehicle ( const LineString3d left,
const LineString3d right 
)
inline

Definition at line 68 of file test_routing_map.h.

◆ addLine()

void lanelet::routing::tests::RoutingGraphTestData::addLine ( const Points3d points)
inline

Definition at line 63 of file test_routing_map.h.

◆ addPoint()

void lanelet::routing::tests::RoutingGraphTestData::addPoint ( double  x,
double  y,
double  z 
)
inline

Definition at line 58 of file test_routing_map.h.

◆ initAreas()

void lanelet::routing::tests::RoutingGraphTestData::initAreas ( )
inlineprivate

Definition at line 469 of file test_routing_map.h.

◆ initLanelets()

void lanelet::routing::tests::RoutingGraphTestData::initLanelets ( )
inlineprivate

Definition at line 394 of file test_routing_map.h.

◆ initLineStrings()

void lanelet::routing::tests::RoutingGraphTestData::initLineStrings ( )
inlineprivate

Definition at line 230 of file test_routing_map.h.

◆ initPoints()

void lanelet::routing::tests::RoutingGraphTestData::initPoints ( )
inlineprivate

Definition at line 102 of file test_routing_map.h.

Member Data Documentation

◆ areaId

Id lanelet::routing::tests::RoutingGraphTestData::areaId {3000}

Definition at line 92 of file test_routing_map.h.

◆ areas

std::unordered_map<Id, Area> lanelet::routing::tests::RoutingGraphTestData::areas

Definition at line 96 of file test_routing_map.h.

◆ bicycleGraph

RoutingGraphPtr lanelet::routing::tests::RoutingGraphTestData::bicycleGraph

Definition at line 98 of file test_routing_map.h.

◆ laneChangeCost

const double lanelet::routing::tests::RoutingGraphTestData::laneChangeCost {2.}

Definition at line 97 of file test_routing_map.h.

◆ laneletId

Id lanelet::routing::tests::RoutingGraphTestData::laneletId {2000}

Definition at line 91 of file test_routing_map.h.

◆ laneletMap

LaneletMapPtr lanelet::routing::tests::RoutingGraphTestData::laneletMap

Definition at line 99 of file test_routing_map.h.

◆ lanelets

std::unordered_map<Id, Lanelet> lanelet::routing::tests::RoutingGraphTestData::lanelets

Definition at line 93 of file test_routing_map.h.

◆ lineId

Id lanelet::routing::tests::RoutingGraphTestData::lineId {1000}

Definition at line 90 of file test_routing_map.h.

◆ lines

std::unordered_map<Id, LineString3d> lanelet::routing::tests::RoutingGraphTestData::lines

Definition at line 95 of file test_routing_map.h.

◆ pedestrianGraph

RoutingGraphPtr lanelet::routing::tests::RoutingGraphTestData::pedestrianGraph

Definition at line 98 of file test_routing_map.h.

◆ pointId

Id lanelet::routing::tests::RoutingGraphTestData::pointId {0}

Definition at line 89 of file test_routing_map.h.

◆ points

std::unordered_map<Id, Point3d> lanelet::routing::tests::RoutingGraphTestData::points

Definition at line 94 of file test_routing_map.h.

◆ vehicleGraph

RoutingGraphPtr lanelet::routing::tests::RoutingGraphTestData::vehicleGraph

Definition at line 98 of file test_routing_map.h.


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


lanelet2_routing
Author(s): Matthias Mayr
autogenerated on Sun Oct 27 2024 02:27:49