distanceTo

fun distanceTo(target: <Error class: unknown class>?): Double
fun distanceTo(target: Int): Double

Computes the distance between two nodes, through Environment.getDistanceBetweenNodes.

Return

the distance

Parameters

target

the target device