cesium-native 0.43.0
Loading...
Searching...
No Matches
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
9namespace CesiumGeospatial {
10
14class CESIUMGEOSPATIAL_API GlobeTransforms final {
15public:
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=CesiumGeospatial::Ellipsoid::WGS84) noexcept
Computes a transformation from east-north-up axes to an ellipsoid-fixed reference frame.
Classes for geospatial computations in Cesium.