com.esri.arcgis.geodatabase
Class TopologyEdge

java.lang.Object
  extended by com.esri.arcgis.geodatabase.TopologyEdge
All Implemented Interfaces:
ITopologyEdge, ITopologyElement, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class TopologyEdge
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ITopologyElement, ITopologyEdge

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

Description 'Esri Topology Edge object.' 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.ITopologyEdge
IID, IIDd04b7152_4989_11d5_9fe9_00c04f6bdd7f, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITopologyElement
IID9a876db1_4a30_11d5_9fe9_00c04f6bdd7f
 
Constructor Summary
TopologyEdge(java.lang.Object obj)
          Construct a TopologyEdge using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 ITopologyNode getFromNode()
          A reference to the topology node at the from point of this edge.
 IGeometry getGeometry()
          The geometry of the topology element.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IEnumTopologyParent getLeftParents(boolean boundedByEdge)
          The set of parents (polygon features) that cover this edge.
 IEnumTopologyParent getParents()
          The set of parents (features) of this topology element.
 IEnumTopologyParent getRightParents(boolean boundedByEdge)
          The set of parents (polygon features) that cover this edge.
 ITopologyNode getToNode()
          A reference to the topology node at the to point of this edge.
 int hashCode()
          the hashcode for this object
 boolean isDeleted()
          Indicates if this element has been deleted from its containing topology graph.
 boolean isLeftVisited()
          Indicates if the left side of the edge was visited.
 boolean isRightVisited()
          Indicates if the right side of the edge was visited.
 boolean isSelected()
          Indicates if this element is part of its containing topology graph's selected set.
 boolean isVisited()
          Indicates if the topology element has been visited.
 void queryGeometry(IGeometry geometry)
          Copies the element's geometry into the specified geometry.
 void release()
          Release a TopologyEdge.
 void setLeftVisited(boolean isLeftVisited)
          Indicates if the left side of the edge was visited.
 void setRightVisited(boolean isRightVisited)
          Indicates if the right side of the edge was visited.
 void setVisited(boolean isVisited)
          Indicates if the topology element has been visited.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopologyEdge

public TopologyEdge(java.lang.Object obj)
             throws java.io.IOException
Construct a TopologyEdge using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to TopologyEdge.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
TopologyEdge o = (TopologyEdge)obj; // will not work

TopologyEdge o = new TopologyEdge(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
java.io.IOException - if there are interop problems TopologyEdge theTopologyEdge = (TopologyEdge) obj;
Method Detail

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 TopologyEdge.

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

getGeometry

public IGeometry getGeometry()
                      throws java.io.IOException,
                             AutomationException
The geometry of the topology element.

Specified by:
getGeometry in interface ITopologyElement
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.

isSelected

public boolean isSelected()
                   throws java.io.IOException,
                          AutomationException
Indicates if this element is part of its containing topology graph's selected set.

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

queryGeometry

public void queryGeometry(IGeometry geometry)
                   throws java.io.IOException,
                          AutomationException
Copies the element's geometry into the specified geometry.

Specified by:
queryGeometry in interface ITopologyElement
Parameters:
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.

isDeleted

public boolean isDeleted()
                  throws java.io.IOException,
                         AutomationException
Indicates if this element has been deleted from its containing topology graph.

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

getParents

public IEnumTopologyParent getParents()
                               throws java.io.IOException,
                                      AutomationException
The set of parents (features) of this topology element.

Specified by:
getParents in interface ITopologyElement
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.

isVisited

public boolean isVisited()
                  throws java.io.IOException,
                         AutomationException
Indicates if the topology element has been visited.

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

setVisited

public void setVisited(boolean isVisited)
                throws java.io.IOException,
                       AutomationException
Indicates if the topology element has been visited.

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

getFromNode

public ITopologyNode getFromNode()
                          throws java.io.IOException,
                                 AutomationException
A reference to the topology node at the from point of this edge.

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

getToNode

public ITopologyNode getToNode()
                        throws java.io.IOException,
                               AutomationException
A reference to the topology node at the to point of this edge.

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

getLeftParents

public IEnumTopologyParent getLeftParents(boolean boundedByEdge)
                                   throws java.io.IOException,
                                          AutomationException
The set of parents (polygon features) that cover this edge. If boundedByEdge is true, then only polygons lying to the left of the edge will be returned.

Specified by:
getLeftParents in interface ITopologyEdge
Parameters:
boundedByEdge - The boundedByEdge (in)
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.

getRightParents

public IEnumTopologyParent getRightParents(boolean boundedByEdge)
                                    throws java.io.IOException,
                                           AutomationException
The set of parents (polygon features) that cover this edge. If boundedByEdge is true, then only polygons lying to the right of the edge will be returned.

Specified by:
getRightParents in interface ITopologyEdge
Parameters:
boundedByEdge - The boundedByEdge (in)
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.

isLeftVisited

public boolean isLeftVisited()
                      throws java.io.IOException,
                             AutomationException
Indicates if the left side of the edge was visited.

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

setLeftVisited

public void setLeftVisited(boolean isLeftVisited)
                    throws java.io.IOException,
                           AutomationException
Indicates if the left side of the edge was visited.

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

isRightVisited

public boolean isRightVisited()
                       throws java.io.IOException,
                              AutomationException
Indicates if the right side of the edge was visited.

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

setRightVisited

public void setRightVisited(boolean isRightVisited)
                     throws java.io.IOException,
                            AutomationException
Indicates if the right side of the edge was visited.

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