RouteBuilder.h
Go to the documentation of this file.
1 #pragma once
5 
6 namespace lanelet {
7 namespace routing {
8 class RoutingGraph;
9 
10 namespace internal {
12 class RouteBuilder {
13  public:
34  explicit RouteBuilder(const RoutingGraphGraph& g) : graph_{g} {}
35  Optional<Route> getRouteFromShortestPath(const LaneletPath& path, bool withLaneChanges = true,
36  RoutingCostId costId = 0);
37 
38  private:
40 };
41 
42 } // namespace internal
43 } // namespace routing
44 } // namespace lanelet
lanelet::routing::internal::RouteBuilder::RouteBuilder
RouteBuilder(const RoutingGraphGraph &g)
Definition: RouteBuilder.h:34
lanelet::routing::internal::RouteBuilder::graph_
const RoutingGraphGraph & graph_
Definition: RouteBuilder.h:39
lanelet::routing::internal::RouteBuilder::getRouteFromShortestPath
Optional< Route > getRouteFromShortestPath(const LaneletPath &path, bool withLaneChanges=true, RoutingCostId costId=0)
Definition: RouteBuilder.cpp:438
lanelet
lanelet::routing::internal::RouteBuilder
Builder class to create a route from a routing graph and the shortest path.
Definition: RouteBuilder.h:12
lanelet::Optional
boost::optional< T > Optional
Route.h
LaneletPath.h
lanelet::routing::RoutingCostId
uint16_t RoutingCostId
Definition: Forward.h:44
lanelet::routing::internal::RoutingGraphGraph
Definition: Graph.h:245
Graph.h
lanelet::routing::LaneletPath
A lanelet path represents a set of lanelets that can be reached in order by either driving straight o...
Definition: LaneletPath.h:13


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