sdk-common / com.tomtom.online.sdk.common.location / LatLng / Comparator

Comparator

open class Comparator : Comparator<LatLng!>

Utility class that allows to compare between two geo points.

Constructors

<init>

Comparator(refCoordinate: LatLng!)

Constructor of utility class used for comparing two geo points using great-circle distance formula.

Functions

compare

open fun compare(lhs: LatLng!, rhs: LatLng!): Int