Removes measurements from a terrain data source (feature class).
[Visual Basic .NET] Public Sub DeleteDataSourceData2 ( _ ByVal index As Integer, _ ByVal pointCountFieldName As String, _ ByVal pAOI As IGeometry, _ ByVal pTrackCancel As ITrackCancel _ )
[C#] public void DeleteDataSourceData2 ( int index, string pointCountFieldName, IGeometry pAOI, ITrackCancel pTrackCancel );
[C++]
HRESULT DeleteDataSourceData2(
long index,
BSTR pointCountFieldName,
IGeometry* pAOI,
ITrackCancel* pTrackCancel
);
[C++]Parameters
index [in] index is a parameter of type long pointCountFieldName [in] pointCountFieldName is a parameter of type BSTR pAOI [in]pAOI is a parameter of type IGeometry
pTrackCancel [in]pTrackCancel is a parameter of type ITrackCancel
Product Availability
Description
Used to delete points from a terrain dataset.
index is used to indicate which data source to delete points from. The data source must be a multipoint or point based feature class. It can be embedded or referenced.
pAOI is an envelope or polygon used to define an area of interest. Points inside pAOI will be deleted.
pTrackCancel is a reference to a CancelTracker to support progress reporting and the ability to halt the process. To bypass this feature pass a NULL pointer.
Notes:
The terrain will need to be rebuilt after calling this method.
A call should be made to ITerrainEdit2.UpdateExtent if extent in XY or Z has shrunk.