com.esri.arcgis.geometry
Interface ISegmentGraph

All Superinterfaces:
Serializable
All Known Subinterfaces:
ISegmentGraph2
All Known Implementing Classes:
ISegmentGraph2Proxy, ISegmentGraphProxy, SegmentGraph

public interface ISegmentGraph
extends Serializable

Provides access to members that define and navigate a topologically structured collection of segments.

Product Availability

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


Method Summary
 ISegmentGraphCursor getCursor(IPoint p)
          Returns a SegmentGraphCursor initially located at the segment closest to the specified point.
 IEnvelope getEnvelope()
          The Envelope of the SegmentGraph.
 void load(IEnumGeometry geometries, boolean generateFaces, boolean takeOwnership)
          Defines a SegmentGraph from an enumeration of polylines or polygons.
 void setEmpty()
          Sets the SegmentGraph to the empty state.
 

Method Detail

getCursor

ISegmentGraphCursor getCursor(IPoint p)
                              throws IOException,
                                     AutomationException
Returns a SegmentGraphCursor initially located at the segment closest to the specified point.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

load

void load(IEnumGeometry geometries,
          boolean generateFaces,
          boolean takeOwnership)
          throws IOException,
                 AutomationException
Defines a SegmentGraph from an enumeration of polylines or polygons.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

setEmpty

void setEmpty()
              throws IOException,
                     AutomationException
Sets the SegmentGraph to the empty state.

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.

getEnvelope

IEnvelope getEnvelope()
                      throws IOException,
                             AutomationException
The Envelope of the SegmentGraph.

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