|
|
|
geomland.distance :p1 :p2
outputs the Distance between the two points :p1 and :p2.
Definition:
to geomland.distance :p1 :p2 make local "dx :p1.x-:p2.x make local "dy :p1.y-:p2.y output sqrt :dx*:dx+:dy*:dy end |
|
|
|