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 | SIMatrix3 | 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

SIMatrix3.InvertInPlace | SIVector3 | SIMatrix3 | SIMatrix4
SIRotation | SITransformation | SIQuaternion |

Autodesk Softimage v7.5