3using Unity.Mathematics;
12 [ReinteropNativeImplementation(
"CesiumForUnityNative::CesiumSimplePlanarEllipsoidCurveImpl",
"CesiumSimplePlanarEllipsoidCurveImpl.h")]
13 [IconAttribute(
"Packages/com.cesium.unity/Editor/Resources/Cesium-24x24.png")]
16 [Obsolete(
"Use CesiumSimplePlanarCurve.FromCenteredFixedCoordinates instead.")]
38 if (!curve.CreateFromCenteredFixed(ellipsoid, sourceEcef, destinationEcef))
60 if (!curve.CreateFromLongitudeLatitudeHeight(ellipsoid, sourceLlh, destinationLlh))
68 #region Implementation
82 public partial double3
GetPosition(
double percentage,
double additionalHeight = 0.0);
84 private partial
bool CreateFromCenteredFixed(
CesiumEllipsoid ellipsoid, double3 sourceEcef, double3 destinationEcef);
85 private partial
bool CreateFromLongitudeLatitudeHeight(
CesiumEllipsoid ellipsoid, double3 sourceLlh, double3 destinationLlh);
89 CreateImplementation();
Describes a curve that's a section of an ellipse that lies on a plane intersecting the center of the ...
static CesiumSimplePlanarEllipsoidCurve FromEarthCenteredEarthFixedCoordinates(CesiumEllipsoid ellipsoid, double3 sourceEcef, double3 destinationEcef)
static CesiumSimplePlanarEllipsoidCurve FromLongituteLatitudeHeight(CesiumEllipsoid ellipsoid, double3 sourceLlh, double3 destinationLlh)
Creates a new CesiumSimplePlanarEllipsoidCurve object from a pair of cartographic coordinates (Longit...
partial double3 GetPosition(double percentage, double additionalHeight=0.0)
Samples the curve at the given percentage of its length.
static CesiumSimplePlanarEllipsoidCurve FromCenteredFixedCoordinates(CesiumEllipsoid ellipsoid, double3 sourceEcef, double3 destinationEcef)
Creates a new CesiumSimplePlanarEllipsoidCurve object from a pair of Ellipsoid-Centered,...