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


IRasterGeometryProc3.GetRasterXFormByIndex Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterGeometryProc3.GetRasterXFormByIndex Method

Gets the polynomial order and the polynomial coefficients of the indexed transformation.

[Visual Basic .NET]
Public Sub GetRasterXFormByIndex ( _
    ByVal pRaster As IRaster, _
    ByVal band As Integer, _
    ByVal forward As Boolean, _
    ByVal index As Integer, _
    ByRef Order As esriGeoTransTypeEnum, _
    ByRef pVar As Object _
)
[C#]
public void GetRasterXFormByIndex (
    IRaster pRaster,
    int band,
    bool forward,
    int index,
    ref esriGeoTransTypeEnum Order,
    ref object pVar
);
[C++]
HRESULT GetRasterXFormByIndex(
  IRaster* pRaster,
  long band,
  VARIANT_BOOL forward,
  long index,
  esriGeoTransTypeEnum* Order,
  VARIANT* pVar
);
[C++]

Parameters pRaster [in]
pRaster is a parameter of type IRaster band [in] band is a parameter of type long forward [in] forward is a parameter of type VARIANT_BOOL index [in] index is a parameter of type long Order [in, out]
Order is a parameter of type esriGeoTransTypeEnum pVar [in, out] pVar is a parameter of type VARIANT

Product Availability

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

Remarks

GetRasterXFormByIndex method returns the transformation coefficients and the order of transformation on a specified raster band. The transformation coefficients are returned as a variant, which is an n x 2 array where n varies with the transformation order. First order transformation returns a 3 x 2 array, second order and third order transformations return 6 x 2 and 10 x 2 arrays, respectively.

See Also

IRasterGeometryProc3 Interface