EllipsoidRhumbLine

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

Initializes a rhumb line 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)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard

The final planetodetic point on the path.

Link copied to clipboard

Gets the heading from the start point to the end point.

Link copied to clipboard

The initial planetodetic point on the path.

Link copied to clipboard

Gets the surface distance between the start and end point

Functions

Link copied to clipboard
fun findIntersectionWithLatitude(intersectionLatitude: Double, result: Cartographic? = definedExternally): Cartographic

Provides the location of a point at the indicated latitude along the rhumb line. If the latitude is outside the range of start and end points, the first intersection with the latitude from that start point in the direction of the heading is returned. This follows the spiral property of a rhumb line.

Link copied to clipboard
fun findIntersectionWithLongitude(intersectionLongitude: Double, result: Cartographic? = definedExternally): Cartographic

Provides the location of a point at the indicated longitude along the rhumb line. If the longitude is outside the range of start and end points, the first intersection with the longitude from the start point in the direction of the heading is returned. This follows the spiral property of a rhumb line.

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

Provides the location of a point at the indicated portion along the rhumb line.

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

Provides the location of a point at the indicated distance along the rhumb line.

Link copied to clipboard

Sets the start and end points of the rhumb line.