com.esri.arcgis.geodatabase
Interface ITinNode2

All Superinterfaces:
ITinElement, ITinNode, Serializable
All Known Implementing Classes:
TinNode

public interface ITinNode2
extends ITinNode, Serializable

Provides access to members that control TIN nodes.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


Method Summary
 int esri_getSource()
          The source of the node.
 int getDegree(boolean bEnforcedEdgesOnly)
          The degree of the node.
 ITinTriangle incidentTriangle()
          Returns any triangle having the node as one of it's vertices.
 int incidentTriangleIndex()
          Returns any triangle having the node as one of it's vertices.
 boolean isOnDomainBoundary()
          Indicates if the specified node is on domain's boundary.
 void queryAdjacentNodeIndices(ILongArray pNodes)
          Returns all nodes connecting to the node.
 void queryIncidentEdgeIndices(ILongArray pEdges)
          Returns all edges sharing the node.
 void queryIncidentTriangleIndices(ILongArray pTriangles)
          Returns all triangles sharing the node.
 
Methods inherited from interface com.esri.arcgis.geodatabase.ITinNode
getAdjacentNodes, getIncidentEdges, getIncidentTriangles, getVoronoiRegion, getX, getY, getZ, queryAsPoint, queryAsWKSPointZ
 
Methods inherited from interface com.esri.arcgis.geodatabase.ITinElement
getIndex, getTagValue, getTheTin, init, isEmpty, isInsideDataArea, setEmpty
 

Method Detail

esri_getSource

int esri_getSource()
                   throws IOException,
                          AutomationException
The source of the node.

Product Availability

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

Returns:
A com.esri.arcgis.geodatabase.esriTinNodeSourceType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDegree

int getDegree(boolean bEnforcedEdgesOnly)
              throws IOException,
                     AutomationException
The degree of the node.

Product Availability

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

Parameters:
bEnforcedEdgesOnly - The bEnforcedEdgesOnly (in)
Returns:
The pDegree
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isOnDomainBoundary

boolean isOnDomainBoundary()
                           throws IOException,
                                  AutomationException
Indicates if the specified node is on domain's boundary.

Description

The TIN's domain is the same thing as its interpolation zone. IsOnDomainBoundary returns TRUE if the node is on this boundary, separating data from nodata areas.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The pbIsOn
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryAdjacentNodeIndices

void queryAdjacentNodeIndices(ILongArray pNodes)
                              throws IOException,
                                     AutomationException
Returns all nodes connecting to the node.

Description

Returns indices for nodes adjacent to the given node. These are its direct neighbors which are connected by triangle edges.

The passed object that implements ILongArray must have already been instantiated.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
pNodes - A reference to a com.esri.arcgis.system.ILongArray (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryIncidentEdgeIndices

void queryIncidentEdgeIndices(ILongArray pEdges)
                              throws IOException,
                                     AutomationException
Returns all edges sharing the node.

Description

This populates a LongArray with the indices of edges that surround the node.

The passed LongArray must already have been instantiated.

A single edge interpretation is used. This is where edges between adjacent triangles are shared.

Only edges that have their from node in common with the specified node are returned. Because of this, some boundary edges incident to super nodes will have no representation.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
pEdges - A reference to a com.esri.arcgis.system.ILongArray (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryIncidentTriangleIndices

void queryIncidentTriangleIndices(ILongArray pTriangles)
                                  throws IOException,
                                         AutomationException
Returns all triangles sharing the node.

Description

Returns indices for triangles incident to the node.

The passed object that implements ILongArray must have already been instantiated.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
pTriangles - A reference to a com.esri.arcgis.system.ILongArray (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

incidentTriangle

ITinTriangle incidentTriangle()
                              throws IOException,
                                     AutomationException
Returns any triangle having the node as one of it's vertices.

Description

Returns one of the triangles that is incident to the node. There is no fixed rule to determine which triangle it will be. You are just assured it will be one that is defined, in part, by the node.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geodatabase.ITinTriangle
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

incidentTriangleIndex

int incidentTriangleIndex()
                          throws IOException,
                                 AutomationException
Returns any triangle having the node as one of it's vertices.

Description

Returns the index for one of the triangles incident to the node. There is no fixed rule to determine which triangle it will be. You are just assured it will be one that is defined, in part, by the node.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The pTriangle
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.