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


ITin.DataTriangleCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITin Interface > ITin.DataTriangleCount Property
ArcGIS Developer Help

ITin.DataTriangleCount Property

The number of data triangles in the TIN.

[Visual Basic .NET]
Public ReadOnly Property DataTriangleCount As Integer
[C#]
public int DataTriangleCount {get;}
[C++]
HRESULT get_DataTriangleCount(
  System.Int32* pcTriangles
);
[C++]
Parameters
pcTriangles [out, retval]

pcTriangles is a parameter of type long*

Product Availability

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

Description

Returns the number of data triangles in the TIN. Data triangles are those that are within the interpolation zone.

This count is unreliable during editing. A call to ITinEdit.Refresh is needed to update this information.

Remarks

The DataTriangleCount is the number of data triangles in the TIN. Masked triangles are excluded from this count.

See Also

ITin Interface