This document is archived and information here might be outdated.  Recommended version.


IPolynomialXform.ApplyRotation Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IPolynomialXform.ApplyRotation Method

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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

 

See Also

IPolynomialXform Interface