cesium-native
0.41.0
|
A position defined by longitude, latitude, and height. More...
#include <CesiumGeospatial/Cartographic.h>
Public Member Functions | |
constexpr | Cartographic (double longitudeRadians, double latitudeRadians, double heightMeters=0.0) noexcept |
Creates a new instance. More... | |
constexpr bool | operator== (const Cartographic &rhs) const noexcept |
Returns true if two cartographics are equal. | |
Static Public Member Functions | |
static constexpr Cartographic | fromDegrees (double longitudeDegrees, double latitudeDegrees, double heightMeters=0.0) noexcept |
Creates a new instance from a longitude and latitude specified in degrees, and a height given in meters. More... | |
Public Attributes | |
double | longitude |
The longitude, in radians. | |
double | latitude |
The latitude, in radians. | |
double | height |
The height, in meters. | |
A position defined by longitude, latitude, and height.
Definition at line 12 of file Cartographic.h.
|
inlineconstexprnoexcept |
Creates a new instance.
longitudeRadians | The longitude, in radians. |
latitudeRadians | The latitude, in radians. |
heightMeters | The height, in meters. Default value: 0.0. |
Definition at line 21 of file Cartographic.h.
|
inlinestaticconstexprnoexcept |
Creates a new instance from a longitude and latitude specified in degrees, and a height given in meters.
The values in the resulting object will be in radians.
longitudeDegrees | The longitude, in degrees. |
latitudeDegrees | The latitude, in degrees. |
heightMeters | The height, in meters. Default value: 0.0. |
Definition at line 39 of file Cartographic.h.