MCPcopy Create free account
hub / github.com/comaps/comaps / PathIsFakeLoop

Function PathIsFakeLoop

libs/routing/turns_generator_utils.cpp:126–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126bool PathIsFakeLoop(std::vector<geometry::PointWithAltitude> const & path)
127{
128 return path.size() == 2 && path[0] == path[1];
129}
130
131double CalcRouteDistanceM(std::vector<geometry::PointWithAltitude> const & junctions, uint32_t start, uint32_t end)
132{

Callers 2

CalcTurnAngleFunction · 0.85
GetTurnInfoFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected