Sets the linear coefficients which define the two dimensional affine transformation.
[Visual Basic .NET] Public Sub SetLinearCoefficients ( _ ByVal direction As esriTransformDirection, _ ByRef params As Double _ )
[C#] public void SetLinearCoefficients ( esriTransformDirection direction, ref double params );
[C++]
HRESULT SetLinearCoefficients(
esriTransformDirection direction,
double* params
);
[C++]Parameters
directiondirection is a parameter of type esriTransformDirection
params params is a parameter of type double
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
You can use the SetLinearCoordinates method to set the linear coefficients (a, b, c, d, e, f) of the current Affine Transformation. For example, these coefficients may come from another software package and could be used to define the transformation. Please see the AffineTransformation2D coclass for a description of the mathematical model. The parameter values are passed in via an array, in alphabetical order.
[C#]
//Here is the parameters order
double[] dparams = new double[6];
affine2D3.QueryLinearCoefficients(esriTransformDirection.esriTransformForward, ref dparams[0]);
System.Diagnostics.Debug.Print("a = " + dparams[0].ToString());
System.Diagnostics.Debug.Print("b = " + dparams[1].ToString());
System.Diagnostics.Debug.Print("c = " + dparams[2].ToString());
System.Diagnostics.Debug.Print("d = " + dparams[3].ToString());
System.Diagnostics.Debug.Print("e = " + dparams[4].ToString());
System.Diagnostics.Debug.Print("f = " + dparams[5].ToString());