Onyx Android SDK Kotlin API
Toggle table of contents
0.0.2
release
Target filter
release
Switch theme
Search in API
Skip to content
Onyx Android SDK Kotlin API
onyxsdk-baselite
/
com.onyx.android.sdk.base.lite.utils
/
MathUtils
/
distance
distance
fun
distance
(
x1
:
Float
,
y1
:
Float
,
x2
:
Float
,
y2
:
Float
)
:
Double
(
source
)
Returns the Euclidean distance between (
x1
,
y1
) and (
x2
,
y2
).