This document is archived and information here might be outdated. Recommended version. |
Makes an edge enumerator based on the extent of the envelope.
[Visual Basic .NET] Public Function MakeEdgeEnumerator ( _ ByVal pAreaOfInterest As IEnvelope, _ ByVal Criteria As Integer, _ ByVal pFilter As ITinFilter _ ) As IEnumTinEdge
[C#] public IEnumTinEdge MakeEdgeEnumerator ( IEnvelope pAreaOfInterest, int Criteria, ITinFilter pFilter );
[C++]
HRESULT MakeEdgeEnumerator(
IEnvelope* pAreaOfInterest,
long Criteria,
ITinFilter* pFilter
);
[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*
Returns an edge 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 edges 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 edges are esriTinAll, esriTinInsideTin, esriTinInsideDataArea, esriTinSingleEdge and esriTinDoubleEdges. The arguments are additive so you can set two things at once. For example 'esriTinInsideDataArea + esriTinDoubleEdges'. The esriTinSingleEdge and esriTinDoubleEdges enumerations define whether a maximum of one edge between two adjacent triangles is returned or two (one edge for each triangle). If unspecified, esriTinSingleEdge is used.
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.