Get shear quadrangle vertices


FwStatus   fwiGetShearQuad ( FwiRect srcRoidouble quad[4][2]double xSheardouble ySheardouble xShiftdouble yShift );


quad[4][2]   Quadrangle vertex coordinates.
srcRoi   Source image ROI.
xShear   Shear value for X axis in Shear transformation.
xShift   Shift value for X axis direction.
yShear   Shear value for Y axis in Shear transformation.
yShift   Shift value for Y axis direction.


This function is used with the GetShearBound function. It computes the vertex coordinates of the quadrangular destination ROI for the shear functions.

Quad[0] contains the top right x and y coordinates

Quad[1] contains the top left x and y coordinates

Quad[2] contains the bottom right x and y coordinates

Quad[3] contains the bottom left x and y coordinates