This document is archived and information here might be outdated. Recommended version. |
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
);
[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
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. |