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

Function RectToInt64Obsolete

libs/coding/point_coding.cpp:121–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121std::pair<int64_t, int64_t> RectToInt64Obsolete(m2::RectD const & r, uint8_t coordBits)
122{
123 int64_t const p1 = PointToInt64Obsolete(r.minX(), r.minY(), coordBits);
124 int64_t const p2 = PointToInt64Obsolete(r.maxX(), r.maxY(), coordBits);
125 return std::make_pair(p1, p2);
126}
127
128m2::RectD Int64ToRectObsolete(std::pair<int64_t, int64_t> const & p, uint8_t coordBits)
129{

Callers 2

SetBoundsMethod · 0.85
WriteFunction · 0.85

Calls 5

PointToInt64ObsoleteFunction · 0.85
minXMethod · 0.80
minYMethod · 0.80
maxXMethod · 0.80
maxYMethod · 0.80

Tested by

no test coverage detected