tripkit-android / com.skedgo.tripkit.common.util / SphericalUtil / computeHeading

computeHeading

open static fun computeHeading(from:TripKitLatLng!, to:TripKitLatLng!):Double

Returns the heading from one TripKitLatLng to another TripKitLatLng. Headings are expressed in degrees clockwise from North within the range [-180,180).

Return Double: The heading in degrees clockwise from north.