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

Method GetAltitude

generator/srtm_parser.hpp:38–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 double GetBilinearHeight(ms::LatLon const & coord) const;
37
38 geometry::Altitude GetAltitude(ms::LatLon const & coord) const
39 {
40 return static_cast<geometry::Altitude>(std::round(GetBilinearHeight(coord)));
41 }
42 /// @}
43
44 using LatLonKey = std::pair<int32_t, int32_t>;

Callers 4

GetValueImplMethod · 0.45
RoughJunctionFunction · 0.45
GetAltitudeMethod · 0.45
CreateElevationPointFunction · 0.45

Calls

no outgoing calls

Tested by 1

RoughJunctionFunction · 0.36