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


IAffineTransformation2D.GetControlPointError Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geometry)  

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,
  double* fromError,
  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