osrm-backend/include/engine/guidance/route_leg.hpp

25 lines
379 B
C++
Raw Normal View History

2016-01-28 10:28:44 -05:00
#ifndef ROUTE_LEG_HPP
#define ROUTE_LEG_HPP
#include "engine/guidance/route_step.hpp"
#include <boost/optional.hpp>
#include <string>
2016-01-28 10:28:44 -05:00
#include <vector>
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;
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