Welcome to mirror list, hosted at ThFree Co, Russian Federation.

osrm_path_segment_factory.hpp « routing - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9fd2754a4305b94b4d484f4c04b721a7f7a58605 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include "routing/loaded_path_segment.hpp"

namespace routing
{
struct FeatureGraphNode;
struct RawPathData;
struct RoutingMapping;

// General constructor.
void OsrmPathSegmentFactory(RoutingMapping & mapping, Index const & index,
                            RawPathData const & osrmPathSegment, LoadedPathSegment & loadedPathSegment);
// Special constructor for side nodes. Splits OSRM node by information from the FeatureGraphNode.
void OsrmPathSegmentFactory(RoutingMapping & mapping, Index const & index, RawPathData const & osrmPathSegment,
                            FeatureGraphNode const & startGraphNode, FeatureGraphNode const & endGraphNode,
                            bool isStartNode, bool isEndNode, LoadedPathSegment & loadedPathSegment);
}  // namespace routing