EllipsoidGeodesic

open external class EllipsoidGeodesic(val start: Cartographic = definedExternally, val end: Cartographic = definedExternally, val ellipsoid: Ellipsoid = definedExternally)(source)

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

See also

Constructors

Link copied to clipboard
constructor(start: Cartographic = definedExternally, end: Cartographic = definedExternally, ellipsoid: Ellipsoid = definedExternally)

Properties

Link copied to clipboard
external val ellipsoid: Ellipsoid

The ellipsoid on which the geodesic lies. Default value - Ellipsoid.default

Link copied to clipboard
external val end: Cartographic

The final planetodetic point on the path.

Link copied to clipboard
external val endHeading: Double

Gets the heading at the final point.

Link copied to clipboard
external val start: Cartographic

The initial planetodetic point on the path.

Link copied to clipboard
external val startHeading: Double

Gets the heading at the initial point.

Link copied to clipboard
external val surfaceDistance: Double

Gets the surface distance between the start and end point

Functions

Link copied to clipboard
external fun interpolateUsingFraction(fraction: Double, result: Cartographic? = definedExternally): Cartographic

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

Link copied to clipboard
external fun interpolateUsingSurfaceDistance(distance: Double, result: Cartographic? = definedExternally): Cartographic

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

Link copied to clipboard
external fun setEndPoints(start: Cartographic, end: Cartographic)

Sets the start and end points of the geodesic