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

Method GetPointId

libs/routing/segment.cpp:12–15  ·  view source on GitHub ↗

Segment -----------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

10{
11// Segment -----------------------------------------------------------------------------------------
12uint32_t Segment::GetPointId(bool front) const
13{
14 return m_forward == front ? m_segmentIdx + 1 : m_segmentIdx;
15}
16
17bool Segment::operator<(Segment const & seg) const
18{

Callers 15

DistanceToSegmentFunction · 0.45
operator()Method · 0.45
FillWeightsFunction · 0.45
CheckCameraMapsEqualityFunction · 0.45
MakeFakeEndingFunction · 0.45
ImportMethod · 0.45
IndexGraphClass · 0.45
SerializeKeyMethod · 0.45
IsJointOrEndMethod · 0.45
GetLastPointsForJointMethod · 0.45
GetNeighboringEdgesMethod · 0.45

Calls

no outgoing calls

Tested by 1

CheckCameraMapsEqualityFunction · 0.36