distanceTo

open fun distanceTo(target: DeviceUID): Double
open fun distanceTo(target: Int): Double

Computes the distance between two nodes, through getDistanceBetweenNodes.

Return

the distance

Parameters

target

the target device