PEXInvertMatrix2D Utility


Synopsis

 
   int PEXInvertMatrix2D(
       PEXMatrix3x3 transform,
       PEXMatrix3x3 transform_return
   )
 

Arguments

transform
The transformation matrix to invert.

transform_return
The inverse transformation.

Returns

Zero if successful; non-zero if unsuccessful.

Description

Invoke PEXInvertMatrix2D to compute the inverse of a two-dimensional transformation matrix.

If the matrix is non-invertible, then this utility 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.