This document is archived and information here might be outdated. Recommended version. |
Interpolates using IDW.
[Visual Basic .NET] Public Function IDW ( _ ByVal geoData As IGeoDataset, _ ByVal power As Double, _ ByVal radius As IRasterRadius, _ [ByRef barrier As Object] _ ) As IGeoDataset
[C#] public IGeoDataset IDW ( IGeoDataset geoData, double power, IRasterRadius radius, ref object barrier );
[C++]
HRESULT IDW(
IGeoDataset* geoData,
double power,
IRasterRadius* radius,
Variant* barrier
);
[C++]
Parameters geoData [in]
geoData is a parameter of type IGeoDataset* power [in]
power is a parameter of type double radius [in]
radius is a parameter of type IRasterRadius* barrier [in, optional]
barrier is a parameter of type VARIANT*
geoDataset |
an input point featureclass containing the points with z values to be interpolated onto a surface Raster |
power | exponent of distance. Controls the significance of surrounding points upon the interpolated value. A higher power results in less influence from distant points. It can be any real number greater than zero but the most reasonable results will be obtained using values from 0.5 to 3. A commonly used power is 2 |
radius | an IRasterRadius indicating the search radius for the input points. The radius distance is specified in map units within which all input sample points will be used to perform interpolation. A commonly used radius is five times the cell size of the output Raster
The object will set and use whatever you set last in your VB script. For example,
|
[barrier] | a shapefile containing arcs to be used as a break or limit in searching for the input sample points |