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


IInterpolationOp3.TrendWithRms Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoAnalyst)  

IInterpolationOp3.TrendWithRms Method

Interpolates using trend surface with optional rms file.

[Visual Basic .NET]
Public Function TrendWithRms ( _
    ByVal geoData As IGeoDataset, _
    ByVal trendType As esriGeoAnalysisTrendEnum, _
    ByVal order As Integer, _
    ByVal out_rms_file As String _
) As IGeoDataset
[C#]
public IGeoDataset TrendWithRms (
    IGeoDataset geoData,
    esriGeoAnalysisTrendEnum trendType,
    int order,
    string out_rms_file
);
[C++]
HRESULT TrendWithRms(
  IGeoDataset* geoData,
  esriGeoAnalysisTrendEnum trendType,
  long order,
  BSTR out_rms_file
);
[C++]

Parameters geoData [in]
geoData is a parameter of type IGeoDataset* trendType [in]
trendType is a parameter of type esriGeoAnalysisTrendEnum order [in]
order is a parameter of type long out_rms_file
out_rms_file is a parameter of type BSTR

Product Availability

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

Remarks

geoData an input point featureclass containing the points with z values to be interpolated onto a surface Raster
trendType an esriGeoAnalysisTrendEnum specifying the type of regression to be performed

esriGeoAnalysisLinearTrend polynomial regression is performed to fit a least-squares surface to the set of input points

It is applicable for continuous types of data.

esriGeoAnalysisLogisticTrend logistic trend surface analysis is performed

It generates a continuous probability surface for binary, or dichotomous, types of data.

order order of the polynomial

It must be an integer value 1 through 12. A value of 1 will fit a flat plane to the points, and a higher value will fit a more complex surface. A commonly used value is 1.

out_rms_file Filename for an output text file that contains information about the RMS error of the interpolation.

See Also

IInterpolationOp3 Interface