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

Method AreCheckpointsInSameMwm

libs/routing/absent_regions_finder.cpp:69–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69bool AbsentRegionsFinder::AreCheckpointsInSameMwm(Checkpoints const & checkpoints) const
70{
71 for (size_t i = 0; i < checkpoints.GetNumSubroutes(); ++i)
72 if (m_countryFileGetterFn(checkpoints.GetPoint(i)) != m_countryFileGetterFn(checkpoints.GetPoint(i + 1)))
73 return false;
74
75 return true;
76}
77} // namespace routing

Callers

nothing calls this directly

Calls 2

GetNumSubroutesMethod · 0.80
GetPointMethod · 0.45

Tested by

no test coverage detected