fun distanceTo(target: DeviceUID!): Double
Computes the distance between two nodes, through Environment#getDistanceBetweenNodes(Node, Node).
target - DeviceUID!: the target device
Return
Double: the distance
fun distanceTo(target: Int): Double
Computes the distance between two nodes, through Environment#getDistanceBetweenNodes(Node, Node).
target - Int: the target device
Return
Double: the distance