WorldWind Kotlin
Toggle table of contents
2.1.1
wasmJs
Target filter
wasmJs
Switch theme
Search in API
Skip to content
WorldWind Kotlin
WorldWind Kotlin
/
earth.worldwind.shape.milstd2525
/
Point2D
/
Companion
Companion
wasmJs
object
Companion
Members
Functions
distance
Link copied to clipboard
wasmJs
fun
distance
(
x1
:
double
,
y1
:
double
,
x2
:
double
,
y2
:
double
)
:
double
Returns the distance between two points.
distance
Sq
Link copied to clipboard
wasmJs
fun
distanceSq
(
x1
:
double
,
y1
:
double
,
x2
:
double
,
y2
:
double
)
:
double
Returns the square of the distance between two points.