com.esri.arcgis.geodatabase
Interface ITopologyElement

All Superinterfaces:
Serializable
All Known Subinterfaces:
ITopologyEdge, ITopologyNode
All Known Implementing Classes:
ITopologyEdgeProxy, ITopologyElementProxy, ITopologyNodeProxy, TopologyEdge, TopologyNode

public interface ITopologyElement
extends Serializable

Provides access to the functionality present in all topology elements. ITopologyEdge and ITopologyNode inherit from this interface.

Product Availability

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


Method Summary
 IGeometry getGeometry()
          The geometry of the topology element.
 IEnumTopologyParent getParents()
          The set of parents (features) of this topology element.
 boolean isDeleted()
          Indicates if this element has been deleted from its containing topology graph.
 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 setVisited(boolean isVisited)
          Indicates if the topology element has been visited.
 

Method Detail

getGeometry

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

isSelected

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

queryGeometry

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

Remarks

The Geometry parameter must be an instance of an appropriate type of geometry for the topology element being called. For example, if the topology element is a node, a new point should be created and passed as the parameter, and if the topology element is an edge, a new polyline should be created and passed as the parameter.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

isDeleted

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getParents

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

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.IEnumTopologyParent
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isVisited

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

setVisited

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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