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

IPolynomialXform.DefineFromCoefficients Method (ArcObjects .NET 10.7 SDK)
 ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IP > IPolynomialXform Interface > IPolynomialXform.DefineFromCoefficients Method
 ArcGIS Developer Help

IPolynomialXform.DefineFromCoefficients Method

Defines a polynomial XForm from polynomial (order: 0-3) coefficients .

```[Visual Basic .NET]
Public Sub DefineFromCoefficients ( _
ByRef pForwardPolyCoef As Object, _
ByRef pReversePolyCoef As Object, _
ByVal Order As Integer _
)
```
```[C#]
public void DefineFromCoefficients (
ref object pForwardPolyCoef,
ref object pReversePolyCoef,
ref int Order
);
```
```[C++]
HRESULT DefineFromCoefficients(
Variant* pForwardPolyCoef,
Variant* pReversePolyCoef,
long Order
);
```
```[C++]
Parameters
pForwardPolyCoef [in]
pForwardPolyCoef is a parameter of type VARIANT*
pReversePolyCoef [in]
pReversePolyCoef is a parameter of type VARIANT*
Order [in]
Order is a parameter of type long
```

Product Availability

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

Remarks

The polynomial coefficients are a variant array of nx2 elements of double type, where n=3 for the first order, 6 for the second order and 10 for the third order.

To define a PolynomialXform to work with raster dataset, coefficients for both forward case and reverse case must be set.

You can define a PolynomialXform that performs one direction transformation, for transforming other type of data, such as forward transformation, pass Null to reverse coefficient argument.