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


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

IInterpolationOp.Spline Method

Interpolates using splining.

[Visual Basic .NET]
Public Function Spline ( _
    ByVal geoData As IGeoDataset, _
    ByVal splineType As esriGeoAnalysisSplineEnum, _
    [ByRef weight As Object], _
    [ByRef numPoints As Object] _
) As IGeoDataset
[C#]
public IGeoDataset Spline (
    IGeoDataset geoData,
    esriGeoAnalysisSplineEnum splineType,
    ref object weight,
    ref object numPoints
);
[C#]

Optional Values

weight   To indicate that this parameter is undefined, first define a variable object Missing=Type.Missing; then pass this in as ref Missing.
numPoints   To indicate that this parameter is undefined, first define a variable object Missing=Type.Missing; then pass this in as ref Missing.
[C++]
HRESULT Spline(
  IGeoDataset* geoData,
  esriGeoAnalysisSplineEnum splineType,
  VARIANT* weight,
  VARIANT* numPoints,
  IGeoDataset** interpolatedRaster
);
[C++]

Parameters geoData [in]
geoData is a parameter of type IGeoDataset splineType [in]
splineType is a parameter of type esriGeoAnalysisSplineEnum weight [optional] weight is a parameter of type VARIANT
To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND. numPoints [optional] numPoints is a parameter of type VARIANT
To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND. 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

splineType

an esriGeoAnalysisSpliceEnum defining the method of Spline to be performed

There are two options.

esriGeoAnalysisRegularizedSpline yields a smooth surface and smooth first derivatives

esriGeoAnalysisTensionSpline tunes the stiffness of the interpolant according to the character of the modeled phenomenon.

[weight]

parameter influencing the character of the surface interpolation

When the Regularized option is chosen, it defines the weight of the third derivatives of the surface in the curvature minimization expression. If the Tension method is run, it defines the weight of tension. When no weight is specified the default is 0.1.

[numPoints]

number of points per region used for local approximation

When no numPoints is given the Spline method will use 12.

See Also

IInterpolationOp Interface