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


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

IPolynomialXform.ApplyShift Method

Applies a shift to the polynomial.

[Visual Basic .NET]
Public Sub ApplyShift ( _
    ByVal direction As esriTransformDirection, _
    ByVal shiftX As Double, _
    ByVal shiftY As Double _
)
[C#]
public void ApplyShift (
    esriTransformDirection direction,
    double shiftX,
    double shiftY
);
[C++]
HRESULT ApplyShift(
  esriTransformDirection direction,
  double shiftX,
  double shiftY
);
[C++]

Parameters direction [in]
direction is a parameter of type esriTransformDirection shiftX [in] shiftX is a parameter of type double shiftY [in] shiftY is a parameter of type double

Product Availability

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

Remarks

ApplyShift method append an xform to the existing PolynomialXform. To define a shift transformation to work with raster data using this method, you must define both forward and inverse transformations.

For example, to define a shift transformation, you need to call

 

pPolynomialXform.ApplyShift TransformationForward, 10

pPolynomialXform.ApplyShift TransformationReverse, -10

See Also

IPolynomialXform Interface