3#include <CesiumGeospatial/Library.h>
4#include <CesiumUtility/Math.h>
21 double longitudeRadians,
22 double latitudeRadians,
23 double heightMeters = 0.0) noexcept
39 double longitudeDegrees,
40 double latitudeDegrees,
41 double heightMeters = 0.0) noexcept {
53 this->
height == rhs.height;
double height
The height, in meters.
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 mete...
double longitude
The longitude, in radians.
constexpr bool operator==(const Cartographic &rhs) const noexcept
Returns true if two cartographics are equal.
constexpr Cartographic(double longitudeRadians, double latitudeRadians, double heightMeters=0.0) noexcept
Creates a new instance.
double latitude
The latitude, in radians.
static constexpr double degreesToRadians(double angleDegrees) noexcept
Converts degrees to radians.
Classes for geospatial computations in Cesium.