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

Method GetPoint

generator/intermediate_data.cpp:118–125  ·  view source on GitHub ↗

PointStorageReaderInterface overrides:

Source from the content-addressed store, hash-verified

116
117 // PointStorageReaderInterface overrides:
118 bool GetPoint(uint64_t id, double & lat, double & lon) const override
119 {
120 LatLon const & ll = m_data[id];
121 bool const ret = FromLatLon(ll, lat, lon);
122 if (!ret)
123 LOG(LERROR, ("Node with id =", id, "not found!"));
124 return ret;
125 }
126
127private:
128 FileReader m_fileReader;

Callers 15

ForEachNodeIdxMethod · 0.45
CheckAndProcessUTurnMethod · 0.45
CalcRoadFeatureIdsFunction · 0.45
ProcessFeatureMethod · 0.45
IndexGraphWrapperClass · 0.45
CalcCrossMwmTransitionsFunction · 0.45
GetBestPedestrianEdgesFunction · 0.45
GetNodeMethod · 0.45
operator()Method · 0.45

Calls 1

FromLatLonFunction · 0.70

Tested by 2

UNIT_CLASS_TESTFunction · 0.36
TestAltitudesFunction · 0.36