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


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

IRasterGeometryProc.TwoPointsAdjust Method

Performs a Hermite transformation on the input raster based upon the 2 input control point pairs.

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

Parameters sourceControlPoints [in]
sourceControlPoints is a parameter of type IPointCollection targetControlPoints [in]
targetControlPoints is a parameter of type IPointCollection pRaster [in]
pRaster is a parameter of type IRaster

Product Availability

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

Remarks

The TwoPointsAdjust method computes a Hermite transformation from a pair of links and applies to the raster. A Hermite transformation can shift, rotate, and scale a raster.
es a minimum number of control links. They are 3, 6, and 10 for order 1,2, and 3, respectively.

See Also

IRasterGeometryProc Interface