This document is archived and information here might be outdated. Recommended version. |
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*
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.
Note: The from error is in 'from' space units, and the to error is in 'to' space units.