com.esri.arcgis.geometry
Interface ISegmentID

All Superinterfaces:
Serializable
All Known Implementing Classes:
BezierCurve, CircularArc, EllipticArc, Line

public interface ISegmentID
extends Serializable

Provides access to members that allow simple manipulations of IDs at the segment level.

Description

Allows the PointID attributes of the Segment endpoints to be set and returned. Segment attribute awareness is dependent upon the awareness of the higher level collection to which the segment belongs. These methods can be used regardless of the segment's awareness.

Product Availability

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


Method Summary
 void getIDs(int[] fromID, int[] toID)
          Get the IDs on the segment's endpoints.
 void setIDs(int fromID, int toID)
          Set the IDs on the segment's endpoints.
 

Method Detail

getIDs

void getIDs(int[] fromID,
            int[] toID)
            throws IOException,
                   AutomationException
Get the IDs on the segment's endpoints.

Description

Returns the PointID attributes held by the From and To point of the segment.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
fromID - The fromID (out: use single element array)
toID - The toID (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIDs

void setIDs(int fromID,
            int toID)
            throws IOException,
                   AutomationException
Set the IDs on the segment's endpoints.

Description

Sets the PointID attributes for the From and To points of the segment. These attributes can be set regardless of the attribute awareness of the segment.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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