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


IRasterGeometryProc2.LeastSquareFit Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterGeometryProc2.LeastSquareFit Method

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IRasterGeometryProc2 Interface