2016-01-28 10:28:44 -05:00
|
|
|
#ifndef ROUTE_LEG_HPP
|
|
|
|
#define ROUTE_LEG_HPP
|
|
|
|
|
|
|
|
#include "engine/guidance/route_step.hpp"
|
|
|
|
|
2016-04-19 15:10:54 -04:00
|
|
|
#include <boost/optional.hpp>
|
|
|
|
|
|
|
|
#include <string>
|
2016-01-28 10:28:44 -05:00
|
|
|
#include <vector>
|
|
|
|
|
2022-12-11 04:10:26 -05:00
|
|
|
namespace osrm::engine::guidance
|
2016-01-28 10:28:44 -05:00
|
|
|
{
|
|
|
|
|
|
|
|
struct RouteLeg
|
|
|
|
{
|
|
|
|
double distance;
|
2017-01-26 11:28:27 -05:00
|
|
|
double duration;
|
|
|
|
double weight;
|
2016-04-19 15:10:54 -04:00
|
|
|
std::string summary;
|
2016-01-28 10:28:44 -05:00
|
|
|
std::vector<RouteStep> steps;
|
|
|
|
};
|
2022-12-20 12:00:11 -05:00
|
|
|
} // namespace osrm::engine::guidance
|
2016-01-28 10:28:44 -05:00
|
|
|
|
|
|
|
#endif
|