com.esri.arcgis.geodatabase
Class ITopologyGraphProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.ITopologyGraphProxy
All Implemented Interfaces:
ITopologyGraph, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
ITopologyGraph2Proxy

public class ITopologyGraphProxy
extends com.esri.arcgis.interop.Dispatch
implements ITopologyGraph, java.io.Serializable

Internal use class Proxy for COM Interface 'ITopologyGraph'. Generated 3/19/2015 1:20:52 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description: 'Provides access to members that control the topology graph.' 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
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITopologyGraph
IID, IID4adc1017_3c78_434b_a32c_1817a42eb857
 
Constructor Summary
  ITopologyGraphProxy()
          For internal use only
  ITopologyGraphProxy(java.lang.Object obj)
           
protected ITopologyGraphProxy(java.lang.Object obj, java.lang.String iid)
           
  ITopologyGraphProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected ITopologyGraphProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 void build(IEnvelope extent, boolean preserveSelection)
          Creates topo elements from all topology feature classes covering the specified map extent.
 void deleteEdge(ITopologyEdge edge)
          Deletes the specified edge from its containing topology graph.
 void deletePseudoNodesFromSelection()
          Removes pseudo-nodes by combining edges incident on such nodes.
 boolean enumHitTest(int whichElements, IPoint queryPoint, double searchRadius, IEnumTGHitInfo[] hitInfo)
          Locates all elements of the graph within searchRadius units of the query point; whichElements is a bitwise combination of esriTopologyElement values.
 IEnvelope getBuildExtent()
          The extent used to build the graph.
 IEnumTopologyEdge getEdges()
          The enumerator that provides access to all the edges.
 IEnumTopologyEdge getEdgeSelection()
          The enumerator for the selected edges of the topology.
 IEnvelope getExtent()
          The current extent of all topological elements in the graph.
 IEnumTopologyNode getNodes()
          The enumerator that provides access to all the nodes.
 IEnumTopologyNode getNodeSelection()
          The enumerator for the selected nodes of the topology.
 IEnumTopologyEdge getParentEdges(IFeatureClass featureClass, int fID)
          Returns the set of edges corresponding to the specified polyline or polygon feature.
 IGeometry getParentGeometry(IFeatureClass featureClass, int fID)
          Creates a geometry corresponding to the current set of edges/nodes owned by the specified parent.
 IEnumTopologyNode getParentNodes(IFeatureClass featureClass, int fID)
          Returns the set of nodes corresponding to the specified point or multipoint feature.
 int getSelectionCount(int whichElements)
          The count of selected elements of the specified types; whichElements is a bitwise combination of esriTopologyElement values.
 IEnvelope getSelectionExtent(int whichElements, boolean includeAdjacent)
          The extent of the selected subset of the graph, optionally includes extent of all edges incident on selected nodes (or on nodes incident on selected edges); whichElements is a bitwise combination of esriTopologyElement values.
 IDisplayFeedback getSelectionFeedback(int whichElements, IPoint anchor, boolean proportionalStretch)
          Creates a display feedback object to indicate the effect of a TransformSelection operation on the selected elements; whichElements is a bitwise combination of esriTopologyElement values.
 IEnumTopologyParent getSelectionParents()
          The feature class and oid of each parent of the selected set of elements.
 IDisplayFeedback getSplitMoveNodeFeedback(ITopologyNode nodeToSplit, boolean proportionalStretch, ISpatialReference outputSR)
          Creates a display feedback object to indicate the effect of a SplitMoveNode operation on the specified node.
 boolean hitTest(int whichElements, IPoint queryPoint, double searchRadius, IPoint hitPoint, double[] hitDistance, ITopologyElement[] hitElement)
          Locates an element of the graph nearest to the query point that is also within searchRadius units of it; whichElements is a bitwise combination of esriTopologyElement values.
 boolean hitTestSelection(int whichElements, IPoint queryPoint, double searchRadius, IPoint hitPoint, double[] hitDistance, ITopologyElement[] hitElement)
          Locates an element of the graph's selection nearest to the query point that is also within searchRadius units of it; whichElements is a bitwise combination of esriTopologyElement values.
 boolean isHasElement(ITopologyElement element)
          Indicates if the topology graph contains the specified element.
 boolean isPosting()
          Indicates if the topology graph is posting.
 void post(IEnvelope[] invalidArea)
          Posts changes to topology elements back to their originating features.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 boolean reshapeEdgeGeometry(ITopologyEdge edge, IPath reshapeGeometry)
          Reshapes (and possibly reinterpolates) the geometry of the specified edge.
 boolean select(int selectHow, ITopologyElement element)
          Adds the specified element to the selected subset of the graph.
 void selectByGeometry(int whichElements, int selectHow, IGeometry geometry)
          Selects nodes and/or edges that intersect the specified geometry; whichElements is a bitwise combination of esriTopologyElement values.
 void setEdgeGeometry(ITopologyEdge edge, IPath geometry)
          Assigns the path geometry to the specified edge.
 void setEmpty()
          Removes all topological elements from the graph.
 boolean setParentSelected(IFeatureClass featureClass, int fID, boolean selected)
          Selects parents of edges.
 void setSelectionEmpty(int whichType)
          Clears the specified selection set: whichType is a bitwise combination of esriTopologyNode, esriTopologyEdge.
 void splitEdgeAtDistance(ITopologyEdge edge, double distance, boolean asRatio, double tolerance, ITopologyEdge[] from, ITopologyNode[] mid, ITopologyEdge[] to)
          Adds a pseudo-node to the edge at the specified distance along the edge.
 void splitEdgeAtPoint(ITopologyEdge edge, IPoint splitPoint, double tolerance, ITopologyEdge[] from, ITopologyNode[] mid, ITopologyEdge[] to)
          Adds a pseudo-node to the edge at the point on the edge closest to the input point.
 void splitMoveNode(ITopologyNode nodeToSplit, IPoint moveTo, boolean proportionalStretch)
          Change graph connectivity: Moves the specified node, along with any selected edges incident on it.
 void transformSelection(int direction, ITransformation transformation, boolean proportionalStretch)
          Applies the specified transformation to the selected elements of the graph.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

ITopologyGraphProxy

public ITopologyGraphProxy(java.lang.String CLSID,
                           java.lang.String host,
                           com.esri.arcgis.interop.AuthInfo authInfo)
                    throws java.net.UnknownHostException,
                           java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

ITopologyGraphProxy

public ITopologyGraphProxy()
For internal use only


ITopologyGraphProxy

public ITopologyGraphProxy(java.lang.Object obj)
                    throws java.io.IOException
Throws:
java.io.IOException

ITopologyGraphProxy

protected ITopologyGraphProxy(java.lang.Object obj,
                              java.lang.String iid)
                       throws java.io.IOException
Throws:
java.io.IOException

ITopologyGraphProxy

protected ITopologyGraphProxy(java.lang.String CLSID,
                              java.lang.String iid,
                              java.lang.String host,
                              com.esri.arcgis.interop.AuthInfo authInfo)
                       throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

setEmpty

public void setEmpty()
              throws java.io.IOException,
                     AutomationException
Removes all topological elements from the graph. Any client-side references to topo elements that came from this graph should be released.

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

setSelectionEmpty

public void setSelectionEmpty(int whichType)
                       throws java.io.IOException,
                              AutomationException
Clears the specified selection set: whichType is a bitwise combination of esriTopologyNode, esriTopologyEdge.

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

build

public void build(IEnvelope extent,
                  boolean preserveSelection)
           throws java.io.IOException,
                  AutomationException
Creates topo elements from all topology feature classes covering the specified map extent.

Specified by:
build in interface ITopologyGraph
Parameters:
extent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
preserveSelection - The preserveSelection (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtent

public IEnvelope getExtent()
                    throws java.io.IOException,
                           AutomationException
The current extent of all topological elements in the graph. This may be different than the extent used to build the graph.

Specified by:
getExtent in interface ITopologyGraph
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBuildExtent

public IEnvelope getBuildExtent()
                         throws java.io.IOException,
                                AutomationException
The extent used to build the graph.

Specified by:
getBuildExtent in interface ITopologyGraph
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hitTest

public boolean hitTest(int whichElements,
                       IPoint queryPoint,
                       double searchRadius,
                       IPoint hitPoint,
                       double[] hitDistance,
                       ITopologyElement[] hitElement)
                throws java.io.IOException,
                       AutomationException
Locates an element of the graph nearest to the query point that is also within searchRadius units of it; whichElements is a bitwise combination of esriTopologyElement values.

Specified by:
hitTest in interface ITopologyGraph
Parameters:
whichElements - The whichElements (in)
queryPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
searchRadius - The searchRadius (in)
hitPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
hitDistance - The hitDistance (out: use single element array)
hitElement - A reference to a com.esri.arcgis.geodatabase.ITopologyElement (out: use single element array)
Returns:
The hit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

enumHitTest

public boolean enumHitTest(int whichElements,
                           IPoint queryPoint,
                           double searchRadius,
                           IEnumTGHitInfo[] hitInfo)
                    throws java.io.IOException,
                           AutomationException
Locates all elements of the graph within searchRadius units of the query point; whichElements is a bitwise combination of esriTopologyElement values.

Specified by:
enumHitTest in interface ITopologyGraph
Parameters:
whichElements - The whichElements (in)
queryPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
searchRadius - The searchRadius (in)
hitInfo - A reference to a com.esri.arcgis.geodatabase.IEnumTGHitInfo (out: use single element array)
Returns:
The hit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSelectionCount

public int getSelectionCount(int whichElements)
                      throws java.io.IOException,
                             AutomationException
The count of selected elements of the specified types; whichElements is a bitwise combination of esriTopologyElement values.

Specified by:
getSelectionCount in interface ITopologyGraph
Parameters:
whichElements - The whichElements (in)
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

select

public boolean select(int selectHow,
                      ITopologyElement element)
               throws java.io.IOException,
                      AutomationException
Adds the specified element to the selected subset of the graph.

Specified by:
select in interface ITopologyGraph
Parameters:
selectHow - A com.esri.arcgis.geodatabase.esriTopologySelectionResultEnum constant (in)
element - A reference to a com.esri.arcgis.geodatabase.ITopologyElement (in)
Returns:
The selectionChanged
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNodeSelection

public IEnumTopologyNode getNodeSelection()
                                   throws java.io.IOException,
                                          AutomationException
The enumerator for the selected nodes of the topology.

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

getEdgeSelection

public IEnumTopologyEdge getEdgeSelection()
                                   throws java.io.IOException,
                                          AutomationException
The enumerator for the selected edges of the topology.

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

getSelectionExtent

public IEnvelope getSelectionExtent(int whichElements,
                                    boolean includeAdjacent)
                             throws java.io.IOException,
                                    AutomationException
The extent of the selected subset of the graph, optionally includes extent of all edges incident on selected nodes (or on nodes incident on selected edges); whichElements is a bitwise combination of esriTopologyElement values.

Specified by:
getSelectionExtent in interface ITopologyGraph
Parameters:
whichElements - The whichElements (in)
includeAdjacent - The includeAdjacent (in)
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

transformSelection

public void transformSelection(int direction,
                               ITransformation transformation,
                               boolean proportionalStretch)
                        throws java.io.IOException,
                               AutomationException
Applies the specified transformation to the selected elements of the graph.

Specified by:
transformSelection in interface ITopologyGraph
Parameters:
direction - A com.esri.arcgis.geometry.esriTransformDirection constant (in)
transformation - A reference to a com.esri.arcgis.geometry.ITransformation (in)
proportionalStretch - The proportionalStretch (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

post

public void post(IEnvelope[] invalidArea)
          throws java.io.IOException,
                 AutomationException
Posts changes to topology elements back to their originating features. Must be used within an edit session and edit operation.

Specified by:
post in interface ITopologyGraph
Parameters:
invalidArea - A reference to a com.esri.arcgis.geometry.IEnvelope (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isPosting

public boolean isPosting()
                  throws java.io.IOException,
                         AutomationException
Indicates if the topology graph is posting.

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

reshapeEdgeGeometry

public boolean reshapeEdgeGeometry(ITopologyEdge edge,
                                   IPath reshapeGeometry)
                            throws java.io.IOException,
                                   AutomationException
Reshapes (and possibly reinterpolates) the geometry of the specified edge.

Specified by:
reshapeEdgeGeometry in interface ITopologyGraph
Parameters:
edge - A reference to a com.esri.arcgis.geodatabase.ITopologyEdge (in)
reshapeGeometry - A reference to a com.esri.arcgis.geometry.IPath (in)
Returns:
The reshaped
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSelectionParents

public IEnumTopologyParent getSelectionParents()
                                        throws java.io.IOException,
                                               AutomationException
The feature class and oid of each parent of the selected set of elements.

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

setParentSelected

public boolean setParentSelected(IFeatureClass featureClass,
                                 int fID,
                                 boolean selected)
                          throws java.io.IOException,
                                 AutomationException
Selects parents of edges. SUbsequent edits to those edges will only be posted back to selected parents.

Specified by:
setParentSelected in interface ITopologyGraph
Parameters:
featureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
fID - The fID (in)
selected - The selected (in)
Returns:
The edgeSelectionChanged
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParentGeometry

public IGeometry getParentGeometry(IFeatureClass featureClass,
                                   int fID)
                            throws java.io.IOException,
                                   AutomationException
Creates a geometry corresponding to the current set of edges/nodes owned by the specified parent.

Specified by:
getParentGeometry in interface ITopologyGraph
Parameters:
featureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
fID - The fID (in)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSelectionFeedback

public IDisplayFeedback getSelectionFeedback(int whichElements,
                                             IPoint anchor,
                                             boolean proportionalStretch)
                                      throws java.io.IOException,
                                             AutomationException
Creates a display feedback object to indicate the effect of a TransformSelection operation on the selected elements; whichElements is a bitwise combination of esriTopologyElement values.

Specified by:
getSelectionFeedback in interface ITopologyGraph
Parameters:
whichElements - The whichElements (in)
anchor - A reference to a com.esri.arcgis.geometry.IPoint (in)
proportionalStretch - The proportionalStretch (in)
Returns:
A reference to a com.esri.arcgis.display.IDisplayFeedback
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

splitMoveNode

public void splitMoveNode(ITopologyNode nodeToSplit,
                          IPoint moveTo,
                          boolean proportionalStretch)
                   throws java.io.IOException,
                          AutomationException
Change graph connectivity: Moves the specified node, along with any selected edges incident on it. A copy of the node, along with unselected edges, remains in the original location.

Specified by:
splitMoveNode in interface ITopologyGraph
Parameters:
nodeToSplit - A reference to a com.esri.arcgis.geodatabase.ITopologyNode (in)
moveTo - A reference to a com.esri.arcgis.geometry.IPoint (in)
proportionalStretch - The proportionalStretch (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSplitMoveNodeFeedback

public IDisplayFeedback getSplitMoveNodeFeedback(ITopologyNode nodeToSplit,
                                                 boolean proportionalStretch,
                                                 ISpatialReference outputSR)
                                          throws java.io.IOException,
                                                 AutomationException
Creates a display feedback object to indicate the effect of a SplitMoveNode operation on the specified node.

Specified by:
getSplitMoveNodeFeedback in interface ITopologyGraph
Parameters:
nodeToSplit - A reference to a com.esri.arcgis.geodatabase.ITopologyNode (in)
proportionalStretch - The proportionalStretch (in)
outputSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Returns:
A reference to a com.esri.arcgis.display.IDisplayFeedback
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

splitEdgeAtPoint

public void splitEdgeAtPoint(ITopologyEdge edge,
                             IPoint splitPoint,
                             double tolerance,
                             ITopologyEdge[] from,
                             ITopologyNode[] mid,
                             ITopologyEdge[] to)
                      throws java.io.IOException,
                             AutomationException
Adds a pseudo-node to the edge at the point on the edge closest to the input point. The node gets created at an existing vertex if one is located within the specified tolerance of the split point.

Specified by:
splitEdgeAtPoint in interface ITopologyGraph
Parameters:
edge - A reference to a com.esri.arcgis.geodatabase.ITopologyEdge (in)
splitPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
tolerance - The tolerance (in)
from - A reference to a com.esri.arcgis.geodatabase.ITopologyEdge (out: use single element array)
mid - A reference to a com.esri.arcgis.geodatabase.ITopologyNode (out: use single element array)
to - A reference to a com.esri.arcgis.geodatabase.ITopologyEdge (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

splitEdgeAtDistance

public void splitEdgeAtDistance(ITopologyEdge edge,
                                double distance,
                                boolean asRatio,
                                double tolerance,
                                ITopologyEdge[] from,
                                ITopologyNode[] mid,
                                ITopologyEdge[] to)
                         throws java.io.IOException,
                                AutomationException
Adds a pseudo-node to the edge at the specified distance along the edge. The node gets created at an existing vertex if one is located within the specified tolerance.

Specified by:
splitEdgeAtDistance in interface ITopologyGraph
Parameters:
edge - A reference to a com.esri.arcgis.geodatabase.ITopologyEdge (in)
distance - The distance (in)
asRatio - The asRatio (in)
tolerance - The tolerance (in)
from - A reference to a com.esri.arcgis.geodatabase.ITopologyEdge (out: use single element array)
mid - A reference to a com.esri.arcgis.geodatabase.ITopologyNode (out: use single element array)
to - A reference to a com.esri.arcgis.geodatabase.ITopologyEdge (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEdgeGeometry

public void setEdgeGeometry(ITopologyEdge edge,
                            IPath geometry)
                     throws java.io.IOException,
                            AutomationException
Assigns the path geometry to the specified edge. Reinterpolatex vertex attributes for the edge if any exist.

Specified by:
setEdgeGeometry in interface ITopologyGraph
Parameters:
edge - A reference to a com.esri.arcgis.geodatabase.ITopologyEdge (in)
geometry - A reference to a com.esri.arcgis.geometry.IPath (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deletePseudoNodesFromSelection

public void deletePseudoNodesFromSelection()
                                    throws java.io.IOException,
                                           AutomationException
Removes pseudo-nodes by combining edges incident on such nodes. Edges and nodes in the current selection are considered.

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

deleteEdge

public void deleteEdge(ITopologyEdge edge)
                throws java.io.IOException,
                       AutomationException
Deletes the specified edge from its containing topology graph.

Specified by:
deleteEdge in interface ITopologyGraph
Parameters:
edge - A reference to a com.esri.arcgis.geodatabase.ITopologyEdge (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

selectByGeometry

public void selectByGeometry(int whichElements,
                             int selectHow,
                             IGeometry geometry)
                      throws java.io.IOException,
                             AutomationException
Selects nodes and/or edges that intersect the specified geometry; whichElements is a bitwise combination of esriTopologyElement values.

Specified by:
selectByGeometry in interface ITopologyGraph
Parameters:
whichElements - The whichElements (in)
selectHow - A com.esri.arcgis.geodatabase.esriTopologySelectionResultEnum constant (in)
geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParentNodes

public IEnumTopologyNode getParentNodes(IFeatureClass featureClass,
                                        int fID)
                                 throws java.io.IOException,
                                        AutomationException
Returns the set of nodes corresponding to the specified point or multipoint feature.

Specified by:
getParentNodes in interface ITopologyGraph
Parameters:
featureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
fID - The fID (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumTopologyNode
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParentEdges

public IEnumTopologyEdge getParentEdges(IFeatureClass featureClass,
                                        int fID)
                                 throws java.io.IOException,
                                        AutomationException
Returns the set of edges corresponding to the specified polyline or polygon feature.

Specified by:
getParentEdges in interface ITopologyGraph
Parameters:
featureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
fID - The fID (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumTopologyEdge
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEdges

public IEnumTopologyEdge getEdges()
                           throws java.io.IOException,
                                  AutomationException
The enumerator that provides access to all the edges.

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

getNodes

public IEnumTopologyNode getNodes()
                           throws java.io.IOException,
                                  AutomationException
The enumerator that provides access to all the nodes.

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

isHasElement

public boolean isHasElement(ITopologyElement element)
                     throws java.io.IOException,
                            AutomationException
Indicates if the topology graph contains the specified element.

Specified by:
isHasElement in interface ITopologyGraph
Parameters:
element - A reference to a com.esri.arcgis.geodatabase.ITopologyElement (in)
Returns:
The hasElement
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hitTestSelection

public boolean hitTestSelection(int whichElements,
                                IPoint queryPoint,
                                double searchRadius,
                                IPoint hitPoint,
                                double[] hitDistance,
                                ITopologyElement[] hitElement)
                         throws java.io.IOException,
                                AutomationException
Locates an element of the graph's selection nearest to the query point that is also within searchRadius units of it; whichElements is a bitwise combination of esriTopologyElement values.

Specified by:
hitTestSelection in interface ITopologyGraph
Parameters:
whichElements - The whichElements (in)
queryPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
searchRadius - The searchRadius (in)
hitPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
hitDistance - The hitDistance (out: use single element array)
hitElement - A reference to a com.esri.arcgis.geodatabase.ITopologyElement (out: use single element array)
Returns:
The hit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.