API Panel.Position.Math.GetDiff: Difference between revisions
Appearance
XML import of API documentation |
XML import |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<sidebar>API Contents</sidebar> | <sidebar>API Contents</sidebar> | ||
Gets the difference between two positions | Gets the difference between two positions | ||
| Line 20: | Line 18: | ||
:The position to subrtact from Pos | :The position to subrtact from Pos | ||
[[Variable Types|HANDLE]] '' | [[Variable Types|HANDLE]] ''CoordSpace'' | ||
:Position space to calculate the difference in | :Position space to calculate the difference in | ||
:''The default value for this parameter is: '''''this''' | :''The default value for this parameter is: '''''this''' | ||
| Line 38: | Line 36: | ||
===Calling in a calculation=== | ===Calling in a calculation=== | ||
* Declare a variable 'result' of type HANDLE | * Declare a variable 'result' of type HANDLE | ||
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::Panel.Position.Math.GetDiff(pos, sub, | * Add to a calculation icon: <pre class="brush:[cpp]">result = ::Panel.Position.Math.GetDiff(pos, sub, coordspace)</pre> | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
Latest revision as of 15:57, 16 January 2014
<sidebar>API Contents</sidebar> Gets the difference between two positions
Parameters
HANDLE Pos
- Position to act as the minuend to calculate position from
HANDLE Sub
- The position to subrtact from Pos
HANDLE CoordSpace
- Position space to calculate the difference in
- The default value for this parameter is: this
Return value
Returns the difference between two positions
Detailed description
No additional information
Examples
Calling in a calculation
- Declare a variable 'result' of type HANDLE
- Add to a calculation icon:
result = ::Panel.Position.Math.GetDiff(pos, sub, coordspace)
No additional examples