This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterGeometryProc2 Interface > IRasterGeometryProc2.LeastSquareFit Method (ArcObjects .NET 10.5 SDK) |
Computes a least squares fit for the input control points.
[Visual Basic .NET] Public Function LeastSquareFit ( _ ByVal sourceControlPoints As IPointCollection, _ ByVal targetControlPoints As IPointCollection, _ ByVal transformType As esriGeoTransTypeEnum, _ ByVal forwardTransformation As Boolean, _ ByVal returnTransformationCoef As Boolean _ ) As Object
[C#] public object LeastSquareFit ( IPointCollection sourceControlPoints, IPointCollection targetControlPoints, esriGeoTransTypeEnum transformType, bool forwardTransformation, bool returnTransformationCoef );
[C++]
HRESULT LeastSquareFit(
IPointCollection* sourceControlPoints,
IPointCollection* targetControlPoints,
esriGeoTransTypeEnum transformType,
VARIANT_BOOL forwardTransformation,
VARIANT_BOOL returnTransformationCoef,
VARIANT* pVar
);
[C++]
Parameters sourceControlPoints [in]
sourceControlPoints is a parameter of type IPointCollection targetControlPoints [in]
targetControlPoints is a parameter of type IPointCollection transformType [in]
transformType is a parameter of type esriGeoTransTypeEnum forwardTransformation [in] forwardTransformation is a parameter of type VARIANT_BOOL returnTransformationCoef [in] returnTransformationCoef is a parameter of type VARIANT_BOOL pVar [out, retval] pVar is a parameter of type VARIANT