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

Method AddPoint

generator/intermediate_data.cpp:271–281  ·  view source on GitHub ↗

PointStorageWriterInterface overrides:

Source from the content-addressed store, hash-verified

269
270 // PointStorageWriterInterface overrides:
271 void AddPoint(uint64_t id, double lat, double lon) override
272 {
273 LatLonPos llp;
274 llp.m_pos = id;
275
276 ToLatLon(lat, lon, llp.m_ll);
277
278 m_fileWriter.Write(&llp, sizeof(llp));
279
280 ++m_numProcessedPoints;
281 }
282
283private:
284 FileWriter m_fileWriter;

Callers

nothing calls this directly

Calls 2

ToLatLonFunction · 0.70
WriteMethod · 0.45

Tested by

no test coverage detected