GetRotateQuad

Get rotation quadrangle vertices

Synopsis

FwStatus   fwiGetRotateQuad ( FwiRect srcRoidouble quad[4][2]double angledouble xShiftdouble yShift );

Parameters

angle   Specifies the rotation angle in degrees, counterclockwise.
quad[4][2]   Quadrangle vertex coordinates.
srcRoi   Source image ROI.
xShift   Shift value for X axis direction.
yShift   Shift value for Y axis direction.

Description

This function is used with the GetRotateBound function. It computes the vertex coordinates of the quadrangular destination ROI for the rotate 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