MPFastSphericalUtils
[INTERNAL] MPFastSphericalUtils
Use this for indoors, for example, within the same venue. The refLatitude
could be taken from the venue's anchor/position
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun sqrDistance(@NonNull from: MPPoint, @NonNull to: MPPoint): Double
Content copied to clipboard
open fun sqrDistance(@NonNull from: MPLatLng, @NonNull to: MPLatLng): Double
Content copied to clipboard
open fun sqrDistance( fromLatitude: Double, fromLongitude: Double, toLatitude: Double, toLongitude: Double): Double
Content copied to clipboard
Given two points, returns the squared distance.
Link copied to clipboard
open fun updateReferenceLatitude(refLatitude: Double): MPFastSphericalUtils
Content copied to clipboard
Updates the ruler with a new reference