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


IDynamicSurface2.InterpolateFeatureCursor Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabaseExtensions)  

IDynamicSurface2.InterpolateFeatureCursor Method

Interpolates z values for features.

[Visual Basic .NET]
Public Sub InterpolateFeatureCursor ( _
    ByVal pCursor As IFeatureCursor, _
    ByVal Resolution As Double, _
    ByVal Type As esriSurfaceInterpolationType, _
    ByVal pOutFeatureClass As IFeatureClass, _
    ByVal pTrackCancel As ITrackCancel, _
    [ByRef pStepSize As Object] _
)
[C#]
public void InterpolateFeatureCursor (
    IFeatureCursor pCursor,
    double Resolution,
    esriSurfaceInterpolationType Type,
    IFeatureClass pOutFeatureClass,
    ITrackCancel pTrackCancel,
    ref object pStepSize
);
[C#]

Optional Values

pStepSize   To indicate that this parameter is undefined, first define a variable object Missing=Type.Missing; then pass this in as ref Missing.
[C++]
HRESULT InterpolateFeatureCursor(
  IFeatureCursor* pCursor,
  double Resolution,
  esriSurfaceInterpolationType Type,
  IFeatureClass* pOutFeatureClass,
  ITrackCancel* pTrackCancel,
  VARIANT* pStepSize
);
[C++]

Parameters pCursor [in]
pCursor is a parameter of type IFeatureCursor Resolution [in] Resolution is a parameter of type double Type [in]
Type is a parameter of type esriSurfaceInterpolationType pOutFeatureClass [in]
pOutFeatureClass is a parameter of type IFeatureClass pTrackCancel [in]
pTrackCancel is a parameter of type ITrackCancel pStepSize [optional] pStepSize 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.

Product Availability

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

Description

If stepsize is omitted, and the interpolation option is set to natural neighbors, input polylines and polygon boundaries will be densified where they intersect terrain triangle edges.

See Also

IDynamicSurface2 Interface