/tripkit/CommonCoreLegacy/com.skedgo.tripkit.common.util/SphericalUtil/computeOffset

computeOffset

\ open fun computeOffset(from: TripKitLatLng, distance: Double, heading: Double): TripKitLatLng

Returns the TripKitLatLng resulting from moving a distance from an origin in the specified heading (expressed in degrees clockwise from north).

Parameters

androidJvm

from The TripKitLatLng from which to start.
distance The distance to travel.
heading The heading in degrees clockwise from north.