com.esri.arcgis.geodatabase
Interface IEnumTGHitInfo

All Superinterfaces:
Serializable
All Known Implementing Classes:
IEnumTGHitInfoProxy

public interface IEnumTGHitInfo
extends Serializable

Provides access to members that interate through topology elements.

Product Availability

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


Method Summary
 int getCount()
          Number of topology elements.
 void next(ITopologyElement[] hitElement, IPoint[] hitPoint, double[] hitDistance)
          Iterates to the next topology element.
 void reset()
          Resets enumerator.
 

Method Detail

reset

void reset()
           throws IOException,
                  AutomationException
Resets enumerator.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getCount

int getCount()
             throws IOException,
                    AutomationException
Number of topology elements.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

next

void next(ITopologyElement[] hitElement,
          IPoint[] hitPoint,
          double[] hitDistance)
          throws IOException,
                 AutomationException
Iterates to the next topology element.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
hitElement - A reference to a com.esri.arcgis.geodatabase.ITopologyElement (out: use single element array)
hitPoint - A reference to a com.esri.arcgis.geometry.IPoint (out: use single element array)
hitDistance - The hitDistance (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.