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

Method IsSegmentsValid

libs/routing/turns_generator_utils.cpp:142–150  ·  view source on GitHub ↗

TurnInfo ----------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

140
141// TurnInfo ----------------------------------------------------------------------------------------
142bool TurnInfo::IsSegmentsValid() const
143{
144 if (m_ingoing->m_path.empty() || m_outgoing->m_path.empty())
145 {
146 LOG(LWARNING, ("Some turns can't load the geometry."));
147 return false;
148 }
149 return true;
150}
151
152// RoutePointIndex ---------------------------------------------------------------------------------
153bool RoutePointIndex::operator==(RoutePointIndex const & index) const

Callers 1

GetTurnInfoFunction · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected