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


IRasterGeometryProc.Warp Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterGeometryProc.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

IRasterGeometryProc Interface