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:

Methods

Returns:
Cartographic The final planetodetic point on the path.

Throws:
DeveloperError : start and end must be set before calling funciton getEndHeading
Returns:
Number The heading at the final point.

Returns:
Cartographic The initial planetodetic point on the path.

Throws:
DeveloperError : start and end must be set before calling funciton getSurfaceDistance
Returns:
Number The heading at the initial point.

Throws:
DeveloperError : start and end must be set before calling funciton getSurfaceDistance
Returns:
Number The surface distance between the start and end point

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.