XformInverse

Returns the inverse of a non-singular transformation matrix.

Syntax

Rhino.XformInverse (arrXform)

Parameters

arrXform

Required.  Array.  A 4x4 transformation matrix.

Returns

Array

The inverted 4x4 transformation matrix if successful.

Null

If matrix is non-singular, On error.

Example

Dim arrXform

arrXform = Rhino.BlockInstanceXform(strObject)

If IsArray(arrXform) Then

  Rhino.TransformObject strObject, Rhino.XformInverse(arrXform)

End If

Also See

XformDeterminant