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


IInterpolationOp.Trend Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoAnalyst)  

IInterpolationOp.Trend Method

Interpolates using trend surface.

[Visual Basic .NET]
Public Function Trend ( _
    ByVal geoData As IGeoDataset, _
    ByVal trendType As esriGeoAnalysisTrendEnum, _
    ByVal order As Integer _
) As IGeoDataset
[C#]
public IGeoDataset Trend (
    IGeoDataset geoData,
    esriGeoAnalysisTrendEnum trendType,
    int order
);
[C++]
HRESULT Trend(
  IGeoDataset* geoData,
  esriGeoAnalysisTrendEnum trendType,
  long order,
  IGeoDataset** interpolatedRaster
);
[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 interpolatedRaster [out, retval]
interpolatedRaster is a parameter of type IGeoDataset

Product Availability

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

Remarks

geoData

an input FeatureClass or FeatureClassDescriptor 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.

See Also

IInterpolationOp Interface