cesium-native
0.41.0
|
Transforms between globe-related coordinate systems. More...
#include <CesiumGeospatial/GlobeTransforms.h>
Static Public Member Functions | |
static glm::dmat4x4 | eastNorthUpToFixedFrame (const glm::dvec3 &origin, const Ellipsoid &ellipsoid CESIUM_DEFAULT_ELLIPSOID) noexcept |
Computes a transformation from east-north-up axes to an ellipsoid-fixed reference frame. More... | |
Transforms between globe-related coordinate systems.
Definition at line 14 of file GlobeTransforms.h.
|
staticnoexcept |
Computes a transformation from east-north-up axes to an ellipsoid-fixed reference frame.
Computes a 4x4 transformation matrix from a reference frame with an east-north-up axes centered at the provided origin to the provided ellipsoid's fixed reference frame. The local axes are defined as:
x
axis points in the local east direction. y
axis points in the local north direction. z
axis points in the direction of the ellipsoid surface normal which passes through the position. origin | The center point of the local reference frame. |
ellipsoid | The Ellipsoid whose fixed frame is used in the transformation. Default value: Ellipsoid::WGS84. |