![]() |
This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterGeometryProc3 Interface > IRasterGeometryProc3.LeastSquareFit Method (ArcObjects .NET 10.4 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