5 #include <CesiumGeospatial/Ellipsoid.h>
7 #include <glm/vec3.hpp>
38 static std::optional<SimplePlanarEllipsoidCurve>
41 const glm::dvec3& sourceEcef,
42 const glm::dvec3& destinationEcef);
81 getPosition(
double percentage,
double additionalHeight = 0.0)
const;
86 const glm::dvec3& scaledSourceEcef,
87 const glm::dvec3& scaledDestinationEcef,
88 const glm::dvec3& originalSourceEcef,
89 const glm::dvec3& originalDestinationEcef);
93 double _destinationHeight;
96 glm::dvec3 _sourceDirection;
97 glm::dvec3 _rotationAxis;
98 glm::dvec3 _sourceEcef;
99 glm::dvec3 _destinationEcef;
A position defined by longitude, latitude, and height.
A quadratic surface defined in Cartesian coordinates.
Produces points on an ellipse that lies on a plane that intersects the center of the earth and each o...
glm::dvec3 getPosition(double percentage, double additionalHeight=0.0) const
Samples the curve at the given percentage of its length.
static std::optional< SimplePlanarEllipsoidCurve > fromEarthCenteredEarthFixedCoordinates(const Ellipsoid &ellipsoid, const glm::dvec3 &sourceEcef, const glm::dvec3 &destinationEcef)
Creates a new instance of SimplePlanarEllipsoidCurve from a source and destination specified in Earth...
static std::optional< SimplePlanarEllipsoidCurve > fromLongitudeLatitudeHeight(const Ellipsoid &ellipsoid, const Cartographic &source, const Cartographic &destination)
Creates a new instance of SimplePlanarEllipsoidCurve from a source and destination specified in carto...
Classes for geospatial computations in Cesium.