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

Function PointUToUint64Obsolete

libs/coding/point_coding.cpp:135–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135uint64_t PointUToUint64Obsolete(m2::PointU const & pt)
136{
137 uint64_t const res = bits::BitwiseMerge(pt.x, pt.y);
138 ASSERT_EQUAL(pt, Uint64ToPointUObsolete(res), ());
139 return res;
140}
141
142m2::PointU Uint64ToPointUObsolete(int64_t v)
143{

Callers 3

SetBasePointMethod · 0.85
PointToInt64ObsoleteFunction · 0.85
UNIT_TESTFunction · 0.85

Calls 2

BitwiseMergeFunction · 0.85
Uint64ToPointUObsoleteFunction · 0.85

Tested by 1

UNIT_TESTFunction · 0.68