distanceTo

fun distanceTo(target: DeviceUID?): Double(source)
fun distanceTo(target: Int): Double(source)

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

Return

the distance

Parameters

target

the target device