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

Method GetHeightRC

generator/srtm_parser.cpp:130–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130geometry::Altitude SrtmTile::GetHeightRC(size_t row, size_t col) const
131{
132 size_t const ix = row * (kArcSecondsInDegree + 1) + col;
133 CHECK_LESS(ix, Size(), (row, col));
134 return ReverseByteOrder(Data()[ix]);
135}
136
137double SrtmTile::GetTriangleHeight(ms::LatLon const & coord) const
138{

Callers

nothing calls this directly

Calls 3

SizeFunction · 0.85
ReverseByteOrderFunction · 0.85
DataClass · 0.50

Tested by

no test coverage detected