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

Function SavePoint

libs/coding/geometry_coding.hpp:188–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186
187template <class TSink>
188void SavePoint(TSink & sink, m2::PointD const & pt, GeometryCodingParams const & cp)
189{
190 WriteVarUint(sink, coding::EncodePointDeltaAsUint(PointDToPointU(pt, cp.GetCoordBits()), cp.GetBasePoint()));
191}
192
193template <class TSource>
194m2::PointD LoadPoint(TSource & src, GeometryCodingParams const & cp)

Callers 2

SerializeForMwmMethod · 0.85

Calls 5

WriteVarUintFunction · 0.85
EncodePointDeltaAsUintFunction · 0.85
PointDToPointUFunction · 0.85
GetCoordBitsMethod · 0.80
GetBasePointMethod · 0.45

Tested by

no test coverage detected