tripkit-android / com.skedgo.tripkit.common.util / SphericalUtil / computeSignedArea
computeSignedArea
open static fun computeSignedArea(path:
MutableList
<
TripKitLatLng
!>!):
Double
Returns the signed area of a closed path on Earth. The sign of the area may be used to determine the orientation of the path. "inside" is the surface that does not contain the South Pole.
Parameters
path
- MutableList<TripKitLatLng!>!: A closed path.
Return Double: The loop's area in square meters.