Initial Import from SourceForge
This commit is contained in:
commit
d8d4f1a2bb
418 changed files with 34837 additions and 0 deletions
18
help/distance.html
Normal file
18
help/distance.html
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>distance</TITLE></HEAD>
|
||||
<BODY>
|
||||
<h1>distance</h1>
|
||||
<B>Category</B><p>
|
||||
<a href="object_commands.html">Object/view commands</a><p>
|
||||
<B>Syntax</B><p>
|
||||
<p>
|
||||
distance(oA,oB,vD);<p>
|
||||
<B>Description</B><p>
|
||||
<p>
|
||||
vD is set to the distance between objects oA and oB. The formula used for calculating the distance is abs(x1-x2) + abs(y1-y2) where x1,y1 and x2,y2 are the co-ordinates of the center of the baselines
|
||||
of oA and oB.
|
||||
<p>
|
||||
If one or more of the objects is not on screen, the distance is 255.<p>
|
||||
<B>See also</B><p>
|
||||
</BODY></HTML>
|
||||
Loading…
Reference in a new issue