EllipsoidGeodesic

EllipsoidGeodesic

new

Initializes a geodesic on the ellipsoid connecting the two provided planetodetic points.

Parameters:
Name Type Argument Default Description
start Cartographic <optional>
undefined The initial planetodetic point on the path.
end Cartographic <optional>
undefined The final planetodetic point on the path.
ellipsoid Ellipsoid <optional>
Ellipsoid.WGS84 The ellipsoid on which the geodesic lies.
Source:

Members

:Cartographic

The final planetodetic point on the path.

:Number

The heading at the final point.

:Cartographic

The initial planetodetic point on the path.

:Number

The heading at the initial point.

:Number

The surface distance between the start and end point

Methods

Provides the location of a point at the indicated portion along the geodesic.

Parameters:
Name Type Description
fraction Number The portion of the distance between the initial and final points.
Returns:
Cartographic The location of the point along the geodesic.

Provides the location of a point at the indicated distance along the geodesic.

Parameters:
Name Type Description
distance Number The distance from the inital point to the point of interest along the geodesic
Throws:
DeveloperError : start and end must be set before calling funciton interpolateUsingSurfaceDistance
Returns:
Cartographic The location of the point along the geodesic.

Sets the start and end points of the geodesic

Parameters:
Name Type Description
start Cartographic The initial planetodetic point on the path.
end Cartographic The final planetodetic point on the path.