distanceTo

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

Computes the distance between two nodes, through getDistanceBetweenNodes.

Return

the distance

Parameters

target

the target device