MCPcopy Create free account
hub / github.com/Project-OSRM/osrm-backend / candidatesInputLocation

Function candidatesInputLocation

include/engine/phantom_node.hpp:253–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251}
252
253inline util::Coordinate candidatesInputLocation(const PhantomNodeCandidates &candidates)
254{
255 BOOST_ASSERT(!candidates.empty());
256 return candidates.front().input_location;
257}
258
259inline bool candidatesHaveComponent(const PhantomNodeCandidates &candidates, uint32_t component_id)
260{

Callers 2

HandleRequestMethod · 0.85
MakeWaypointMethod · 0.85

Calls 2

emptyMethod · 0.45
frontMethod · 0.45

Tested by

no test coverage detected