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


IAffineTransformation2D.GetRMSError 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.GetRMSError Method
ArcGIS Developer Help

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(
  System.Double* fromError,
  System.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