This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IP > IPolynomialXform Interface > IPolynomialXform.DefineFromCoefficients Method (ArcObjects .NET 10.5 SDK) |
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
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.