findIntersectionWithLongitude

fun findIntersectionWithLongitude(intersectionLongitude: Double, result: Cartographic? = definedExternally): Cartographic(source)

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.

Return

The location of the intersection point along the rhumb line, undefined if there is no intersection or infinite intersections.

Parameters

intersectionLongitude

The longitude, in radians, at which to find the intersection point from the starting point using the heading.

result

The object in which to store the result.

See also