Invert (SIMatrix3)
Description
Inverts the matrix m and stores the result in this matrix: this = m^-1
Scripting Syntax
SIMatrix3.Invert( m )
C# Syntax
Int32 SIMatrix3.Invert( SIMatrix3 in_pMatrix );Parameters
|
Parameter |
Type |
Description |
|
m |
Matrix operand |
Return Value
Boolean True if the matrix m has been inverted (m is not singular); otherwise False.
Examples
VBScript Example
dim m1, m2 ' Create 3x3 matrices. set m1 = XSIMath.CreateMatrix3(2.0, 3.0, 0.0, 1.0, 4.0, 0.0, 0.0, 0.0, 1.0) set m2 = XSIMath.CreateMatrix3 if m2.Invert( m1 ) then 'do something else 'do another thing end if
See Also
|
|
Autodesk Softimage v7.5