com.esri.arcgis.geodatabase
Class TinNode

java.lang.Object
  extended by com.esri.arcgis.geodatabase.TinNode
All Implemented Interfaces:
ITinElement, ITinFeatureSeed, ITinNode, ITinNode2, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class TinNode
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ITinElement, ITinNode, ITinNode2, ITinFeatureSeed, ISupportErrorInfo

COM Class 'TinNode'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description 'The Esri TinNode component.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITinNode2
IID, IID3d212052_ad4b_11d5_abb8_0008c73fd50c, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITinNode
IID3e541321_1132_11d2_92f7_444553540000
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITinElement
IID3e541320_1132_11d2_92f7_444553540000
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITinFeatureSeed
IID, IIDbb5dbc74_b9ca_11d5_abbb_0008c73fd50c, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
TinNode()
          Constructs a TinNode using ArcGIS Engine.
TinNode(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TinNode theTinNode = (TinNode) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 int esri_getSource()
          The source of the node.
 ITinNodeArray getAdjacentNodes()
          Returns all nodes comprising triangles sharing the specified node.
static java.lang.String getClsid()
          getClsid.
 int getDegree(boolean bEnforcedEdgesOnly)
          The degree of the node.
 ITinEdgeArray getIncidentEdges()
          Returns all edges sharing the specified node.
 ITinTriangleArray getIncidentTriangles()
          Returns all triangles sharing the specified node.
 int getIndex()
          The element's index number.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getTagValue()
          The tag value of the specified element.
 ITin getTheTin()
          The TIN object referenced by the element.
 IPolygon getVoronoiRegion(IPolygon pClippingPolygon)
          Returns the Voronoi-polygon region of the specified node.
 double getX()
          The x-coordinate of the specified node.
 double getY()
          The y-coordinate of the specified node.
 double getZ()
          The z-coordinate of the specified node.
 int hashCode()
          the hashcode for this object
 ITinTriangle incidentTriangle()
          Returns any triangle having the node as one of it's vertices.
 int incidentTriangleIndex()
          Returns the index of any triangle having the node as one of it's vertices.
 void init(ITin pTin, int index)
          Initializes a new TIN element.
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 boolean isEmpty()
          Indicates if the specified element is uninitialized.
 boolean isInsideDataArea()
          Indicates if the specified element is within the interpolation zone of the TIN.
 boolean isOnDomainBoundary()
          Indicates if the specified node is on domain's boundary.
 boolean isUseTagValue()
          Indicates whether tag value (if true) or edge type (if false) should be used to define the feature, in case the seed is an edge.
 void queryAdjacentNodeIndices(ILongArray pNodes)
          Returns all nodes connecting to the node.
 void queryAsPoint(IPoint pPoint)
          Sets the node equal to a point.
 void queryAsWKSPointZ(_WKSPointZ[] pPoint)
          Sets the node equal to a point with a z value.
 void queryIncidentEdgeIndices(ILongArray pEdges)
          Returns all edges sharing the node.
 void queryIncidentTriangleIndices(ILongArray pTriangles)
          Returns all triangles sharing the node.
 void release()
          Release a TinNode.
 void setEmpty()
          Uninitializes the element.
 void setUseTagValue(boolean pbUseTagValue)
          Indicates whether tag value (if true) or edge type (if false) should be used to define the feature, in case the seed is an edge.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TinNode

public TinNode()
        throws java.io.IOException,
               java.net.UnknownHostException
Constructs a TinNode using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

TinNode

public TinNode(java.lang.Object obj)
        throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TinNode theTinNode = (TinNode) obj;

Construct a TinNode using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to TinNode.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a TinNode.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

isEmpty

public boolean isEmpty()
                throws java.io.IOException,
                       AutomationException
Indicates if the specified element is uninitialized.

Specified by:
isEmpty in interface ITinElement
Returns:
The pbIsEmpty
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTheTin

public ITin getTheTin()
               throws java.io.IOException,
                      AutomationException
The TIN object referenced by the element.

Specified by:
getTheTin in interface ITinElement
Returns:
A reference to a com.esri.arcgis.geodatabase.ITin
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getIndex

public int getIndex()
             throws java.io.IOException,
                    AutomationException
The element's index number.

Specified by:
getIndex in interface ITinElement
Specified by:
getIndex in interface ITinFeatureSeed
Returns:
The pIndex
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTagValue

public int getTagValue()
                throws java.io.IOException,
                       AutomationException
The tag value of the specified element.

Specified by:
getTagValue in interface ITinElement
Specified by:
getTagValue in interface ITinFeatureSeed
Returns:
The pValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEmpty

public void setEmpty()
              throws java.io.IOException,
                     AutomationException
Uninitializes the element.

Specified by:
setEmpty in interface ITinElement
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

init

public void init(ITin pTin,
                 int index)
          throws java.io.IOException,
                 AutomationException
Initializes a new TIN element.

Specified by:
init in interface ITinElement
Parameters:
pTin - A reference to a com.esri.arcgis.geodatabase.ITin (in)
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isInsideDataArea

public boolean isInsideDataArea()
                         throws java.io.IOException,
                                AutomationException
Indicates if the specified element is within the interpolation zone of the TIN.

Specified by:
isInsideDataArea in interface ITinElement
Returns:
The pbIsInside
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getX

public double getX()
            throws java.io.IOException,
                   AutomationException
The x-coordinate of the specified node.

Specified by:
getX in interface ITinNode
Returns:
The x
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getY

public double getY()
            throws java.io.IOException,
                   AutomationException
The y-coordinate of the specified node.

Specified by:
getY in interface ITinNode
Returns:
The y
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getZ

public double getZ()
            throws java.io.IOException,
                   AutomationException
The z-coordinate of the specified node.

Specified by:
getZ in interface ITinNode
Returns:
The z
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryAsPoint

public void queryAsPoint(IPoint pPoint)
                  throws java.io.IOException,
                         AutomationException
Sets the node equal to a point.

Specified by:
queryAsPoint in interface ITinNode
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryAsWKSPointZ

public void queryAsWKSPointZ(_WKSPointZ[] pPoint)
                      throws java.io.IOException,
                             AutomationException
Sets the node equal to a point with a z value.

Specified by:
queryAsWKSPointZ in interface ITinNode
Parameters:
pPoint - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAdjacentNodes

public ITinNodeArray getAdjacentNodes()
                               throws java.io.IOException,
                                      AutomationException
Returns all nodes comprising triangles sharing the specified node.

Specified by:
getAdjacentNodes in interface ITinNode
Returns:
A reference to a com.esri.arcgis.geodatabase.ITinNodeArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getIncidentEdges

public ITinEdgeArray getIncidentEdges()
                               throws java.io.IOException,
                                      AutomationException
Returns all edges sharing the specified node.

Specified by:
getIncidentEdges in interface ITinNode
Returns:
A reference to a com.esri.arcgis.geodatabase.ITinEdgeArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getIncidentTriangles

public ITinTriangleArray getIncidentTriangles()
                                       throws java.io.IOException,
                                              AutomationException
Returns all triangles sharing the specified node.

Specified by:
getIncidentTriangles in interface ITinNode
Returns:
A reference to a com.esri.arcgis.geodatabase.ITinTriangleArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVoronoiRegion

public IPolygon getVoronoiRegion(IPolygon pClippingPolygon)
                          throws java.io.IOException,
                                 AutomationException
Returns the Voronoi-polygon region of the specified node.

Specified by:
getVoronoiRegion in interface ITinNode
Parameters:
pClippingPolygon - A reference to a com.esri.arcgis.geometry.IPolygon (in)
Returns:
A reference to a com.esri.arcgis.geometry.IPolygon
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esri_getSource

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

Specified by:
esri_getSource in interface ITinNode2
Returns:
A com.esri.arcgis.geodatabase.esriTinNodeSourceType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDegree

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

Specified by:
getDegree in interface ITinNode2
Parameters:
bEnforcedEdgesOnly - The bEnforcedEdgesOnly (in)
Returns:
The pDegree
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isOnDomainBoundary

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

Specified by:
isOnDomainBoundary in interface ITinNode2
Returns:
The pbIsOn
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryAdjacentNodeIndices

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

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

queryIncidentEdgeIndices

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

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

queryIncidentTriangleIndices

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

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

incidentTriangle

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

Specified by:
incidentTriangle in interface ITinNode2
Returns:
A reference to a com.esri.arcgis.geodatabase.ITinTriangle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

incidentTriangleIndex

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

Specified by:
incidentTriangleIndex in interface ITinNode2
Returns:
The pTriangle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUseTagValue

public boolean isUseTagValue()
                      throws java.io.IOException,
                             AutomationException
Indicates whether tag value (if true) or edge type (if false) should be used to define the feature, in case the seed is an edge.

Specified by:
isUseTagValue in interface ITinFeatureSeed
Returns:
The pbUseTagValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUseTagValue

public void setUseTagValue(boolean pbUseTagValue)
                    throws java.io.IOException,
                           AutomationException
Indicates whether tag value (if true) or edge type (if false) should be used to define the feature, in case the seed is an edge.

Specified by:
setUseTagValue in interface ITinFeatureSeed
Parameters:
pbUseTagValue - The pbUseTagValue (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.