ArcObjects Library Reference (Geometry)  

IAffineTransformation2D.GetRMSError Method

RMS (Root Mean Square) error expressed relative to the 'from' and 'to' points defining the transformation. These error terms are valid after using DefineFromControlPoints/Ex to define the transformation.

[Visual Basic .NET]
Public Sub GetRMSError ( _
    ByRef fromError As Double, _
    ByRef toError As Double _
)
[C#]
public void GetRMSError (
    ref double fromError,
    ref double toError
);
[C++]
HRESULT GetRMSError(
  double* fromError,
  double* toError
);
[C++]

Parameters

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::GetRMSError returns the 'Root Mean Square' error associated with a given transformation defined using the IAffineTransformation2D::DefineFromControlPoints/Ex method. The fromError describes the distance deviations resulting from putting the 'to' control points into the 'from' space using a "best-fit" affine transformation. The toError describes the distance deviations resulting from putting the 'from' points into the 'to' space using another best-fit transformation.

Remarks

Note: The fromError is in the units of the from space, and the toError is in the units of the 'to' space.

See Also

IAffineTransformation2D Interface