mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 19:05:31 +08:00
committed by
Lars Toenning
parent
5e5b3f830d
commit
7691e42a5b
@@ -27,16 +27,16 @@ namespace XSwiftBus
|
||||
//! Destructor;
|
||||
~CTerrainProbe();
|
||||
|
||||
//! Not copyable.
|
||||
//! @{
|
||||
//! Not copyable.
|
||||
CTerrainProbe(const CTerrainProbe &) = delete;
|
||||
CTerrainProbe &operator =(const CTerrainProbe &) = delete;
|
||||
//! @}
|
||||
|
||||
//! @{
|
||||
//! Get the elevation in meters at the given point in OpenGL space.
|
||||
//! \note Due to the Earth's curvature, the OpenGL vertical axis may not be exactly perpendicular to the surface of the geoid.
|
||||
//! \return NaN if no ground was detected.
|
||||
//! @{
|
||||
std::array<double, 3> getElevation(double degreesLatitude, double degreesLongitude, double metersAltitude) const;
|
||||
std::array<double, 3> getElevation(double degreesLatitude, double degreesLongitude, double metersAltitude, const std::string &callsign, bool &o_isWater) const;
|
||||
//! @}
|
||||
|
||||
Reference in New Issue
Block a user