ManagedCuda.NPP.NPPImage_8uC3.GetRotateQuad C# (CSharp) Method

GetRotateQuad() public method

Compute shape of rotated image.
public GetRotateQuad ( double nAngle, double nShiftX, double nShiftY ) : ].double[
nAngle double The angle of rotation in degrees.
nShiftX double Shift along horizontal axis
nShiftY double Shift along vertical axis
return ].double[
        public double[,] GetRotateQuad(double nAngle, double nShiftX, double nShiftY)
        {
            double[,] quad = new double[4, 2];
            status = NPPNativeMethods.NPPi.GeometricTransforms.nppiGetRotateQuad(new NppiRect(_pointRoi, _sizeRoi), quad, nAngle, nShiftX, nShiftY);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiGetRotateQuad", status));
            NPPException.CheckNppStatus(status, this);
            return quad;
        }
NPPImage_8uC3