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


ITinAdvanced.MakeTriangleEnumerator Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITinAdvanced.MakeTriangleEnumerator Method

Makes a triangle enumerator based on the extent of the envelope.

[Visual Basic .NET]
Public Function MakeTriangleEnumerator ( _
    ByVal pAreaOfInterest As IEnvelope, _
    ByVal Criteria As Integer, _
    ByVal pFilter As ITinFilter _
) As IEnumTinTriangle
[C#]
public IEnumTinTriangle MakeTriangleEnumerator (
    IEnvelope pAreaOfInterest,
    int Criteria,
    ITinFilter pFilter
);
[C++]
HRESULT MakeTriangleEnumerator(
  IEnvelope* pAreaOfInterest,
  long Criteria,
  ITinFilter* pFilter,
  IEnumTinTriangle** ppEnumerator
);
[C++]

Parameters pAreaOfInterest [in]
pAreaOfInterest is a parameter of type IEnvelope Criteria [in] Criteria is a parameter of type long pFilter [in]
pFilter is a parameter of type ITinFilter ppEnumerator [out, retval]
ppEnumerator is a parameter of type IEnumTinTriangle

Product Availability

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

Description

Returns a triangle enumerator that honors the constraints defined by the input arguments.

The pAreaOfInterest argument is an envelope that defines the area for which elements will be returned. Only triangles that fall inside the envelope qualify. The argument can be set to a Null pointer ('Nothing' in VB) in which case the TIN's data extent will be used.

The Criteria argument takes an esriTinQualification enumeration. The possible values for triangles are esriTinAll, esriTinInsideTin, esriTinInsideDataArea.

The pFilter argument is an additional constraint that can be applied. Any valid TinFilter can be used. Pass a Null pointer ('Nothing' in VB) if  you don't want to apply a filter.

See Also

ITinAdvanced Interface