This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IP > IPolynomialXform Interface > IPolynomialXform.ApplyRotation Method (ArcObjects .NET 10.4 SDK) |
Applies a rotation to the polynomial.
[Visual Basic .NET] Public Sub ApplyRotation ( _ ByVal direction As esriTransformDirection, _ ByVal pPivotPoint As IPoint, _ ByVal degree As Double _ )
[C#] public void ApplyRotation ( esriTransformDirection direction, IPoint pPivotPoint, double degree );
[C++]
HRESULT ApplyRotation(
esriTransformDirection direction,
IPoint* pPivotPoint,
double degree
);
[C++]
Parameters direction [in]
direction is a parameter of type esriTransformDirection pPivotPoint [in]
pPivotPoint is a parameter of type IPoint degree [in] degree is a parameter of type double
ApplyRotation method append an xform to the existing PolynomialXform. To define a rotation transformation for work with raster data using this method, you must define both forward and inverse transformation.
For example, to define a rotation of 45 degree unclockwise, you need to call
pPolynomialXform.ApplyRotate TransformationForward, 45
pPolynomialXform.ApplyRotate TransformationReverse, -45