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


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

ITinEdge.GetNeighbor Method

Returns the corresponding edge of the triangle opposite to the specified edge.

[Visual Basic .NET]
Public Function GetNeighbor ( _
) As ITinEdge
[C#]
public ITinEdge GetNeighbor (
);
[C++]
HRESULT GetNeighbor(
void
);

Product Availability

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

Description

A triangle is comprised of three edges. They are ordered clockwise one after another. So, the RightTriangle of an edge is the triangle the edge belongs to. An edge's neighboring edge is the edge of the LeftTriangle that shares the same nodes (although from and to are reversed).

GetNeighbor will return Nothing (a null pointer) when the edge is on the absolute boundary of the triangulation.

See Also

ITinEdge Interface