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

Method GetAccessType

libs/routing/index_graph.hpp:81–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 Geometry & GetGeometry() const { return *m_geometry; }
80
81 RoadAccess::Type GetAccessType(Segment const & segment) const
82 {
83 return m_roadAccess.GetAccessWithoutConditional(segment.GetFeatureId()).first;
84 }
85
86 uint32_t GetNumRoads() const { return m_roadIndex.GetSize(); }
87 uint32_t GetNumJoints() const { return m_jointIndex.GetNumJoints(); }

Callers 1

AddCandidateMethod · 0.80

Calls 2

GetFeatureIdMethod · 0.45

Tested by

no test coverage detected