ArcObjects Library Reference (DataSourcesRaster)  

IRasterGeometryProc3.Warp Method

Warps the input raster based upon the input control points using the transformation type specified.

[Visual Basic .NET]
Public Sub Warp ( _
    ByVal sourceControlPoints As IPointCollection, _
    ByVal targetControlPoints As IPointCollection, _
    ByVal transformType As esriGeoTransTypeEnum, _
    ByVal pRaster As IRaster _
)
[C#]
public void Warp (
    IPointCollection sourceControlPoints,
    IPointCollection targetControlPoints,
    esriGeoTransTypeEnum transformType,
    IRaster pRaster
);
[C++]
HRESULT Warp(
  IPointCollection* sourceControlPoints,
  IPointCollection* targetControlPoints,
  esriGeoTransTypeEnum transformType,
  IRaster* pRaster
);
[C++]

Parameters

sourceControlPoints [in]

  sourceControlPoints is a parameter of type IPointCollection

targetControlPoints [in]

  targetControlPoints is a parameter of type IPointCollection

transformType [in]

  transformType is a parameter of type esriGeoTransTypeEnum

pRaster [in]

  pRaster is a parameter of type IRaster

Product Availability

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

Remarks

Warp method computes a polynomial transformation based on the input links, then applies this transformation to the input raster. The polynomial transformation specified can be first, second, or third order polynomials. Each transformation order requires a minimum number of control links. They are 3, 6, and 10 for order 1,2, and 3, respectively.

See Also

IRasterGeometryProc3 Interface