![]() |
Cesium for Unity 1.15.2
|
Describes a curve that's a section of an ellipse that lies on a plane intersecting the center of the earth and both the source and destination points on an ellipsoid. More...
Public Member Functions | |
partial double3 | GetPosition (double percentage, double additionalHeight=0.0) |
Samples the curve at the given percentage of its length. | |
Static Public Member Functions | |
static CesiumSimplePlanarEllipsoidCurve | FromEarthCenteredEarthFixedCoordinates (CesiumEllipsoid ellipsoid, double3 sourceEcef, double3 destinationEcef) |
static CesiumSimplePlanarEllipsoidCurve | FromCenteredFixedCoordinates (CesiumEllipsoid ellipsoid, double3 sourceEcef, double3 destinationEcef) |
Creates a new CesiumSimplePlanarEllipsoidCurve object from a pair of Ellipsoid-Centered, Ellipsoid-Fixed coordinates describing the beginning and end points of the curve. | |
static CesiumSimplePlanarEllipsoidCurve | FromLongituteLatitudeHeight (CesiumEllipsoid ellipsoid, double3 sourceLlh, double3 destinationLlh) |
Creates a new CesiumSimplePlanarEllipsoidCurve object from a pair of cartographic coordinates (Longitude, Latitude, and Height) describing the beginning and end points of the curve. | |
Describes a curve that's a section of an ellipse that lies on a plane intersecting the center of the earth and both the source and destination points on an ellipsoid.
This curve can be sampled at any point along its length.
Definition at line 14 of file CesiumSimplePlanarEllipsoidCurve.cs.
|
inlinestatic |
Creates a new CesiumSimplePlanarEllipsoidCurve object from a pair of Ellipsoid-Centered, Ellipsoid-Fixed coordinates describing the beginning and end points of the curve.
ellipsoid | The ellipsoid to use for this curve. |
sourceEcef | The start point of the curve. |
destinationEcef | The end point of the curve. |
Definition at line 35 of file CesiumSimplePlanarEllipsoidCurve.cs.
|
inlinestatic |
Definition at line 17 of file CesiumSimplePlanarEllipsoidCurve.cs.
|
inlinestatic |
Creates a new CesiumSimplePlanarEllipsoidCurve object from a pair of cartographic coordinates (Longitude, Latitude, and Height) describing the beginning and end points of the curve.
ellipsoid | The ellipsoid to use for this curve. |
sourceLlh | The start point of the curve. |
destinationLlh | The end point of the curve. |
Definition at line 57 of file CesiumSimplePlanarEllipsoidCurve.cs.
partial double3 CesiumForUnity.CesiumSimplePlanarEllipsoidCurve.GetPosition | ( | double | percentage, |
double | additionalHeight = 0.0 ) |
Samples the curve at the given percentage of its length.
percentage | The percentage of the curve's length to sample at, where 0 is the beginning and 1 is the end. This value will be clamped to the range [0..1]. |
additionalHeight | The height above the earth at this position will be calculated by interpolating between the height at the beginning and end points of the curve, based on the value of percentage . This parameter specifies an additional offset to add to the height at this position. |