PEXInvertMatrix Utility


Synopsis

 
   int PEXInvertMatrix(
       PEXMatrix transform,
       PEXMatrix transform_return
   )
 

Arguments

transform
The transformation matrix to invert.

transform_return
The inverse transformation.

Returns

Zero if successful; non-zero if unsuccessful.

Description

Invoke PEXInvertMatrix to compute the inverse of a transformation matrix.

If the matrix is non-invertible, then this function returns a status of unsuccessful.

The two arguments may be the same variable, in which case the inversion is performed in-place, overwriting the original transform.

Errors

None.

See Also

For a list of miscellaneous transformation utilities, see Miscellaneous Transformation Utilities. For a list of related topics, see PEXlib Utilities.