findIntersectionWithLatitude

fun findIntersectionWithLatitude(intersectionLatitude: Double, result: Cartographic? = definedExternally): Cartographic(source)

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.

Return

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

Parameters

intersectionLatitude

The latitude, 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