API Panel.Position.Math.GetDistance: Difference between revisions
Appearance
XML import |
XML import |
||
| Line 3: | Line 3: | ||
<div style="width:25%; float:right" class="toc"> | <div style="width:25%; float:right" class="toc"> | ||
===Class hierarchy===[[API | | ===Class hierarchy===[[API Panel|Panel]] | ||
:[[API Panel| | :[[API Panel.Position|Position]] | ||
::[[API Panel.Position| | ::[[API Panel.Position.Math|Math]] | ||
:::[[API Panel.Position.Math| | :::[[API Panel.Position.Math|GetDistance]] | ||
</div> | </div> | ||
__TOC__ | __TOC__ | ||
Revision as of 21:21, 11 May 2013
<sidebar>API contents</sidebar> Gets the distance between two positions
===Class hierarchy===Panel
Parameters
HANDLE Pos0
- Start of line to calculate distance from
HANDLE Pos1
- End of line to calculate distance to
HANDLE Relative
- Optional position to calculate the distance in
- The default value for this parameter is: this
Return value
Returns the distance between two positions
Detailed description
No additional information
Examples
Calling in a calculation
- Declare a variable 'result' of type FLOAT
- Add to a calculation icon:
result = ::Panel.Position.Math.GetDistance(pos0, pos1, relative)