ArcObjects Library Reference (GeoDatabaseExtensions)  

ITerrainEdit3.AddDataSourceData2 Method

Appends measurements to terrain data source (feature class).

[Visual Basic .NET]
Public Sub AddDataSourceData2 ( _
    ByVal index As Integer, _
    ByVal pointCountFieldName As String, _
    ByVal pAOI As IGeometry, _
    ByVal pInFC As IFeatureClass, _
    ByVal pTrackCancel As ITrackCancel _
)
[C#]
public void AddDataSourceData2 (
    int index,
    string pointCountFieldName,
    IGeometry pAOI,
    IFeatureClass pInFC,
    ITrackCancel pTrackCancel
);
[C++]
HRESULT AddDataSourceData2(
  long index,
  BSTR pointCountFieldName,
  IGeometry* pAOI,
  IFeatureClass* pInFC,
  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

pInFC [in]

  pInFC is a parameter of type IFeatureClass

pTrackCancel [in]

  pTrackCancel is a parameter of type ITrackCancel

Product Availability

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

Description

Used to append points to a feature class that participates in the terrain.

index indicates which data source will be appended to. 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 control the which points from pInFC get appended. pAOI can be NULL in which case all data from pInFC will be appended.

pInFC is the source of data that will be appended. It must be a multipoint or point based feature class.

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:


Attributes from the input are conditionally appended to the target feature class. If there's a match in field names between the input and output the values will be brought over.

The terrain will need to be rebuilt after calling this method.

See Also

ITerrainEdit3 Interface