ITinAdvanced3 Interface

Provides access to members that control advanced TIN functions.

Members

Name Description
Method GetNextCCWEdgeIndex Gets next counter clockwise edge index.
Method GetNextCWEdgeIndex Gets next clockwise edge index.
Method GetNextEdgeIndexInTriangle Gets next edge index in triangle.
Method GetPreviousEdgeIndexInTriangle Gets previous edge index in triangle.
Method QueryElementIndicesAroundNode Returns the indices of all elements connected to the specified node.
Read-only property TinVersion Returns the version number of the TIN dataset.

ITinAdvanced3.GetNextCCWEdgeIndex Method

Gets next counter clockwise edge index.

Public Function GetNextCCWEdgeIndex ( _
    ByVal edgeIndex As Integer _
) As Integer
public int GetNextCCWEdgeIndex (
    int edgeIndex
);

ITinAdvanced3.GetNextCWEdgeIndex Method

Gets next clockwise edge index.

Public Function GetNextCWEdgeIndex ( _
    ByVal edgeIndex As Integer _
) As Integer
public int GetNextCWEdgeIndex (
    int edgeIndex
);

ITinAdvanced3.GetNextEdgeIndexInTriangle Method

Gets next edge index in triangle.

Public Function GetNextEdgeIndexInTriangle ( _
    ByVal edgeIndex As Integer _
) As Integer
public int GetNextEdgeIndexInTriangle (
    int edgeIndex
);

Description

Returns the index for the next edge in a triangle relative to a given edge. Since nodes and edges are oriented clockwise in a TIN the next edge is clockwise to the given edge.

Use this method instead of ITinEdge.GetNextInTriangle when inside a loop.

ITinAdvanced3.GetPreviousEdgeIndexInTriangle Method

Gets previous edge index in triangle.

Public Function GetPreviousEdgeIndexInTriangle ( _
    ByVal edgeIndex As Integer _
) As Integer
public int GetPreviousEdgeIndexInTriangle (
    int edgeIndex
);

Description

Returns the index for the previous edge in a triangle relative to a given edge. Since nodes and edges are oriented clockwise in a TIN the previous edge is counter-clockwise to the given edge.

Use this method instead of ITinEdge.GetPreviousInTriangle when inside a loop.

ITinAdvanced3.QueryElementIndicesAroundNode Method

Returns the indices of all elements connected to the specified node.

Public Sub QueryElementIndicesAroundNode ( _
    ByVal Type As esriTinElementType, _
    ByVal localNodeIndex As Integer, _
    ByVal triangleIndex As Integer, _
    ByVal pIndices As ILongArray _
)
public void QueryElementIndicesAroundNode (
    esriTinElementType Type,
    int localNodeIndex,
    int triangleIndex,
    ILongArray pIndices
);

Description

Used to return the indices of nodes, edges, or triangles around a node when the node is referenced by specifying its local position (0, 1, 2) in a triangle.

Type indicates the desired element type for the returned indices: nodes, edges, or triangles.

LocalNodeIndex is the nth position for the node of interest in the triangle. Local indices, that indicate relative position in a triangle, start at base 0. Therefore, the passed value must be 0, 1, or 2.

TriangleIndex is used to indicate which triangle the local node index is relative to. Element indexes that are global, at the TIN level rather than local to a triangle, start at base 1. Therefore the passed value must be 1..NumTriangles.

pIndices is a reference to a LongArray into which the indices will be placed. The LongArray object must already be instantiated. Any values already in the array when it's passed will be removed before the return values get added.

See related methods ITinAdvanced2 QueryEdgeIndicesAroundNodes, ITinAdvanced2.QueryNodeIndicesAroundNode, and ITinAdvanced2.QueryTriangleIndicesAroundNodes.

This method is faster than those related methods. They all require a spatial search to find an incident triangle or edge to start iterating from while this method does not.

ITinAdvanced3.TinVersion Property

Returns the version number of the TIN dataset.

Public ReadOnly Property TinVersion As esriTinVersion
public esriTinVersion TinVersion {get;}

Description

TINs with a version of esriTin70001 can be used with ArcINFO Workstation, ArcView 3.x, and all versions of ArcGIS.

TINs with a version of esriTin80001 can be used with ArcGIS 10 and later.

See also ITinAdvanced2.SaveAsVersion.

Classes that implement ITinAdvanced3

Classes Description
Tin The Esri TIN component.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.