linearLocation

fun linearLocation(azimuth: Angle, distanceRadians: Double, result: Location): Location

Computes the location on the linear path starting at this location and traversing with the specified azimuth and angular distance. This function uses a flat-earth approximation proximal to this location.

Return

the result argument set to the computed location

Parameters

azimuth

the starting azimuth

distanceRadians

the angular distance along the path in radians

result

a pre-allocated Location in which to return the computed location