36 static std::optional<EarthGravitationalModel1996Grid>
56 double getHeightForIndices(
size_t vertical,
size_t horizontal)
const;
58 std::vector<int16_t> _gridValues;
A position defined by longitude, latitude, and height.
Loads and queries heights from an Earth Gravitational Model 1996 (EGM96) grid.
double sampleHeight(const Cartographic &position) const
Samples the height at the given position.
static std::optional< EarthGravitationalModel1996Grid > fromBuffer(const gsl::span< const std::byte > &buffer)
Attempts to create a EarthGravitationalModel1996Grid from the given buffer.
Classes for geospatial computations in Cesium.