get Distance
Gets the path distance to the specified position
Return
the distance to the specified position, or MAX_VALUE if not reachable
Parameters
position
the position
Gets the path distance to the specified position
the distance to the specified position, or MAX_VALUE if not reachable
the position