distance

Help Contents geomland Object point distance
put_ord Object line

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

Examples:

References:

put_ord Object line