fun routingDistance(dest: Node<Any!>!): Double
Computes the distance along a map. Requires a MapEnvironment.
dest - Node<Any!>!: the destination, in form of a destination node
Return
Double: the distance on a map
fun routingDistance(dest: Number!): Double
Computes the distance along a map. Requires a MapEnvironment.
dest - Number!: the destination, in form of ProtelisNode ID. Non integer numbers will be cast to integers by Number#intValue().
Return
Double: the distance on a map
fun routingDistance(dest: GeoPosition!): Double
Computes the distance along a map. Requires a MapEnvironment.
dest - GeoPosition!: the destination
Return
Double: the distance on a map
fun routingDistance(dest: Tuple!): Double
Computes the distance along a map. Requires a MapEnvironment.
dest - Tuple!: the destination, as a Tuple of two values: [latitude, longitude]
Return
Double: the distance on a map