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

Method IsEndPointId

libs/routing/geometry.hpp:72–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 bool IsValid() const { return m_valid; }
71
72 bool IsEndPointId(uint32_t pointId) const
73 {
74 ASSERT_LESS(pointId, m_junctions.size(), ());
75 return pointId == 0 || pointId + 1 == GetPointsCount();
76 }
77
78 void SetPassThroughAllowedForTests(bool passThroughAllowed) { m_isPassThroughAllowed = passThroughAllowed; }
79

Callers 2

operator()Method · 0.80
IsUTurnAndRestrictedMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected