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


IAffineTransformation2D.GetControlPointError Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IA > IAffineTransformation2D Interface > IAffineTransformation2D.GetControlPointError Method
ArcGIS Developer Help

IAffineTransformation2D.GetControlPointError Method

Returns the errors involved in moving control point i from the 'from' to 'to' system. These error terms are valid after using DefineFromControlPoints/Ex to define the transformation.

[Visual Basic .NET]
Public Sub GetControlPointError ( _
    ByVal i As Integer, _
    ByRef fromError As Double, _
    ByRef toError As Double _
)
[C#]
public void GetControlPointError (
    int i,
    ref double fromError,
    ref double toError
);
[C++]
HRESULT GetControlPointError(
  long i,
  System.Double* fromError,
  System.Double* toError
);
[C++]
Parameters
i 

i is a parameter of type long fromError [out]
fromError is a parameter of type double* toError [out]
toError is a parameter of type double*

Product Availability

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

Description

IAffineTransformation2D::GetControlPointError returns the distance error associated with a given control point of a transformation defined using the IAffineTransformation2D::DefineFromControlPoints/methods. For example, this information could be used to determine which control point causes the more error for a given adjustment. The adjustment could then be refined starting by this point.

Remarks

Note: The from error is in 'from' space units, and the to error is in 'to' space units.

See Also

IAffineTransformation2D Interface