cesium-native  0.41.0
GlobeTransforms.h
1 #pragma once
2 
3 #include "Ellipsoid.h"
4 #include "Library.h"
5 
6 #include <glm/fwd.hpp>
7 #include <glm/vec3.hpp>
8 
9 namespace CesiumGeospatial {
10 
14 class CESIUMGEOSPATIAL_API GlobeTransforms final {
15 public:
34  static glm::dmat4x4 eastNorthUpToFixedFrame(
35  const glm::dvec3& origin,
36  const Ellipsoid& ellipsoid CESIUM_DEFAULT_ELLIPSOID) noexcept;
37 };
38 
39 } // namespace CesiumGeospatial
A quadratic surface defined in Cartesian coordinates.
Definition: Ellipsoid.h:38
Transforms between globe-related coordinate systems.
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.
Classes for geospatial computations in Cesium.