Jump to content

API Panel.Position.Math.GetDiff: Difference between revisions

From Flowcode Help
JonnyW (talk | contribs)
XML import of API routines for release
JonnyW (talk | contribs)
XML import
 
Line 1: Line 1:
<sidebar>API Contents</sidebar>
<sidebar>API Contents</sidebar>
Gets the difference between two positions
Gets the difference between two positions

Latest revision as of 15:57, 16 January 2014

<sidebar>API Contents</sidebar> Gets the difference between two positions

Class hierarchy

Panel

Position
Math
GetDiff

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

HANDLE

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