SL_InvertTM2D


NAME
SL_InvertTM2D -- inverts a 2-d tranformation matrix.

SYNOPSIS
success = SL_InvertTM2D(tm);
D0A0

SLFLAG SL_InvertTM2D(TM2DHANDLE);

FUNCTION
Computes the inverse of a 2-d transformation matrix. This is useful
when one desires to map from destination to source instead of the usual
source to destination.

Not all matrices can be inverted. If a matrix has a determinate that
evaluates to 0 then that matrix cannot be inverted.

INPUTS
tm - the 2-d tm to invert.

RESULTS
success - TRUE if the transformation took place, FALSE if the tm
could not be inverted.

SEE ALSO
SL_ApplyTM2D, SL_CloneTM2D, SL_ConcateTM2D, SL_CopyTM2D, SL_CreateTM2D, SL_DeltaApplyTM2D, SL_FreeTM2D, SL_GetTM2D, SL_InitTM2D, SL_InverseApplyTM2D, SL_InverseDeltaApplyTM2D, SL_InvertTM2D, SL_RotateTM2D, SL_ScaleTM2D, SL_SetTM2D, SL_TranslateTM2D.

 

SL_InvertTM2D  Command Section By Type  url:SL_InvertTM2D
  created:2008-03-01 23:36:37   last updated:2008-03-01 23:36:37
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SL_InvertTM2D
There are no user contributed comments for this page.