PointStorageWriterInterface overrides:
| 86 | |
| 87 | // PointStorageWriterInterface overrides: |
| 88 | void AddPoint(uint64_t id, double lat, double lon) override |
| 89 | { |
| 90 | LatLon ll; |
| 91 | ToLatLon(lat, lon, ll); |
| 92 | |
| 93 | m_fileWriter.Seek(id * sizeof(ll)); |
| 94 | m_fileWriter.Write(&ll, sizeof(ll)); |
| 95 | |
| 96 | ++m_numProcessedPoints; |
| 97 | } |
| 98 | |
| 99 | private: |
| 100 | FileWriter m_fileWriter; |