SIMatrix3.InvertInPlace
 
 
 

SIMatrix3.InvertInPlace

Description

Inverts this matrix (if not singular): this = this^-1

C# Syntax

Int32 SIMatrix3.InvertInPlace();

Scripting Syntax

oBoolean = SIMatrix3.InvertInPlace( m );

Return Value

Boolean True if this matrix has been inverted (not singular); otherwise False.

Parameters

Parameter Type Description
m SIMatrix3 Matrix operand

Examples

VBScript Example

dim m1
' Create 3x3 matrix.
set m1 = XSIMath.CreateMatrix3(2.0, 3.0, 0.0, 1.0, 4.0, 0.0, 0.0, 0.0, 1.0)
if m1.InvertInPlace then
'do something
else
'do another thing
end if

See Also

SIMatrix3.Invert SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion