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


ITinEdit2.AddFrom3dMultipointFeatureClass Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinEdit2 Interface > ITinEdit2.AddFrom3dMultipointFeatureClass Method
ArcGIS Developer Help

ITinEdit2.AddFrom3dMultipointFeatureClass Method

Adds features from a 3D multi-point feature class to the TIN.

[Visual Basic .NET]
Public Sub AddFrom3dMultipointFeatureClass ( _
    ByVal pFeatureClass As IFeatureClass, _
    ByVal pClippingFilter As ISpatialFilter _
)
[C#]
public void AddFrom3dMultipointFeatureClass (
    IFeatureClass pFeatureClass,
    ISpatialFilter pClippingFilter
);
[C++]
HRESULT AddFrom3dMultipointFeatureClass(
  IFeatureClass* pFeatureClass,
  ISpatialFilter* pClippingFilter
);
[C++]
Parameters
pFeatureClass [in]

pFeatureClass is a parameter of type IFeatureClass* pClippingFilter [in]
pClippingFilter is a parameter of type ISpatialFilter*

Product Availability

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

Description

Used to add a subset of points from a z-aware multipoint feature class. The benefit of using this method over ITinEdit.AddFromFeatureClass is that the multipoints can be clipped to an area of interest before they get added to the triangulation, excluding vertices that are of no interest.

pFeatureClass must reference a z-aware multipoint feature class.

pClippingFilter is a SpatialFilter that's used to select points from the input feature class. First, the filter will be applied as a search filter on the multipoint feature class. Then, each vertex of each returned multipoint is tested to see if it's within or coincident to the filter's geometry. If so, it's add to the triangulation.

Notes:
The most straightforward use of this method would be to set the filter geometry to an envelope or polygon and the spatial relationship test to Intersects. This is the most efficient way to triangulate just those vertices from a multipoint feature class that are inside an area of interest defined by a rectangle or polygon.

See Also

ITinEdit2 Interface