com.esri.arcgis.geodatabase
Class ITopologyEdgeProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.ITopologyElementProxy
          extended by com.esri.arcgis.geodatabase.ITopologyEdgeProxy
All Implemented Interfaces:
ITopologyEdge, ITopologyElement, Externalizable, Serializable

public class ITopologyEdgeProxy
extends ITopologyElementProxy
implements ITopologyEdge, Serializable

Provides access to information on a topological edge within a topology graph.

Product Availability

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

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  ITopologyEdgeProxy()
           
  ITopologyEdgeProxy(Object obj)
           
protected ITopologyEdgeProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 ITopologyNode getFromNode()
          A reference to the topology node at the from point of this edge.
 IEnumTopologyParent getLeftParents(boolean boundedByEdge)
          The set of parents (polygon features) that cover this edge.
 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.
 boolean isLeftVisited()
          Indicates if the left side of the edge was visited.
 boolean isRightVisited()
          Indicates if the right side of the edge was visited.
 void removeListener(String iidStr, Object theListener)
           
 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.
 
Methods inherited from class com.esri.arcgis.geodatabase.ITopologyElementProxy
getGeometry, getParents, isDeleted, isSelected, isVisited, queryGeometry, setVisited
 
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
 
Methods inherited from interface com.esri.arcgis.geodatabase.ITopologyElement
getGeometry, getParents, isDeleted, isSelected, isVisited, queryGeometry, setVisited
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

ITopologyEdgeProxy

public ITopologyEdgeProxy()

ITopologyEdgeProxy

public ITopologyEdgeProxy(Object obj)
                   throws IOException
Throws:
IOException

ITopologyEdgeProxy

protected ITopologyEdgeProxy(Object obj,
                             String iid)
                      throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class ITopologyElementProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class ITopologyElementProxy
Throws:
IOException

getFromNode

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getToNode

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getLeftParents

public IEnumTopologyParent getLeftParents(boolean boundedByEdge)
                                   throws 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.

Product Availability

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

Specified by:
getLeftParents in interface ITopologyEdge
Parameters:
boundedByEdge - The boundedByEdge (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumTopologyParent
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRightParents

public IEnumTopologyParent getRightParents(boolean boundedByEdge)
                                    throws 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.

Product Availability

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

Specified by:
getRightParents in interface ITopologyEdge
Parameters:
boundedByEdge - The boundedByEdge (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumTopologyParent
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isLeftVisited

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

setLeftVisited

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

isRightVisited

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

setRightVisited

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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