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

Method GetGeometryCodingParams

libs/indexer/data_header.cpp:56–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56serial::GeometryCodingParams DataHeader::GetGeometryCodingParams(int scaleIndex) const
57{
58 return {static_cast<uint8_t>(m_codingParams.GetCoordBits() - (m_scales.back() - m_scales[scaleIndex]) / 2),
59 m_codingParams.GetBasePointUint64()};
60}
61
62m2::RectD DataHeader::GetBounds() const
63{

Callers 6

WriteOuterPointsMethod · 0.45
WriteOuterTrianglesMethod · 0.45
ParseGeometryMethod · 0.45
GetOuterGeometryStatsMethod · 0.45
ParseTrianglesMethod · 0.45

Calls 3

GetCoordBitsMethod · 0.80
backMethod · 0.80
GetBasePointUint64Method · 0.80

Tested by

no test coverage detected