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


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

ITinAdvanced2.GetNodeSource Method

Returns the source of the specified node.

[Visual Basic .NET]
Public Function GetNodeSource ( _
    ByVal nodeIndex As Integer _
) As esriTinNodeSourceType
[C#]
public esriTinNodeSourceType GetNodeSource (
    int nodeIndex
);
[C++]
HRESULT GetNodeSource(
  long nodeIndex
);
[C++]
Parameters
nodeIndex [in]

nodeIndex is a parameter of type long

Product Availability

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

Description

The source of the specified node is returned as an esriTinNodeSourceType enumeration. This gives an indication of where the node came from; its origin. If a node has the value esriTinOriginal it was input, as a point or vertex, by a user. All other node source types, with the possible exception of esriTinUnknown, represent those which are software generated. These others include the four super nodes that are added upon initial TIN creation, and densification and intersection nodes added to breaklines. Nodes are added to breaklines, where necessary, in order to make them Delaunay conforming.

If the intersection point between two or more breaklines was input as part of the source data the node source will be set to esriTinOriginal because the software did not need to generate the intersection point. If you need to discover nodes where breaklines intersect, regardless of whether they were software generated, use ITinAdvanced2.GetNodeDegree or ITinNode2.Degree with the EnforcedEdgesOnly option set to TRUE. Returned values greater than two are intersection points. A value of two might be considered an intersection but only if the node is the endpoint of two different breaklines.

Older format TINs (i.e. pre-ArcGIS 10.0) did not persist node source information. For them, the node source is only maintained while the TIN is in edit mode. This means after a pre-10.0 TIN has been saved to disk, all nodes, except for super nodes, become unknown.

See also: ITinNode2.Source

Remarks


[C#]
[C++]
[Visual Basic .NET]

See Also

ITinAdvanced2 Interface | ITinNode2.Source Property