This document is archived and information here might be outdated. Recommended version. |
Provides access to members that manipulate the segments of a path, ring, polyline, or polygon.
A Segment Collection is a collection of Segments that compose a segment-based geometry. A Segment Collection can be used to access any segment within a segment-based geometry without regard to the overall geometry that the Segment Collection represents. As a geometry, the Segment Collection is assumed to be a valid Path. Although it is possible to access the Segment Collection of an entire Polyline or Polygon, manipulation of Polyline and Polygons is best done with a Geometry Collection.
If you are using a development language that does not support C style arrays, use IGeometryBridge instead. The IGeometryBridge interface solves that problem allowing you to pass safe arrays instead.
Name | Description | |
---|---|---|
AddSegment | Adds a reference to the input segment at the end, or before or after a specified index. | |
AddSegmentCollection | Adds references to the segments from the specified segment collection. | |
AddSegments | Adds references to segments. This method is intended for internal use only. | |
EnumCurve | A new curve enumerator for this segment collection. | |
EnumSegments | A new enumerator for this segment collection. | |
HasNonLinearSegments | Indicates if this segment collection contains segments other than lines. | |
IndexedEnumSegments | A new indexed segment enumerator for this segment collection. | |
InsertSegmentCollection | Inserts references to the segments in the input collectoin. | |
InsertSegmentCollectionEx | Inserts references to some of the segments from the input collection. | |
InsertSegments | Inserts references to the input segments. This method is intended for internal use only. | |
QuerySegments | Returns references to some of the input segments. This method is intended for internal use only. | |
RemoveSegments | Removes references to some segments. If closeGap is TRUE, then any remaining internal gap in the path, ring, polyline or polygon is connected with a single line segment. | |
ReplaceSegmentCollection | Remove and inserts some segments. | |
ReplaceSegments | Removes and inserts from segments. This method is intended for internal use only. | |
Segment | A reference to the ith segment. | |
SegmentCount | The number of segments. | |
SegmentsChanged | Informs the segment collection that any cached values that it may be maintaining (envelope, length, etc.) are invalid. Use this method after editing segments directly. | |
SetCircle | Defines this path, ring, polyline or polygon to contain a single circular arc segment that is closed. | |
SetRectangle | Defines this path, ring, polyline or polygon to have four line segments in the same positions as the sides of the input envelope. | |
SetSegmentCollection | Replaces all segments with references to segments from the input collection. | |
SetSegments | Replaces all segments with references to the input segments. This method is intended for internal use only. | |
SynchronizeEmptyAttributes | If, at end point shared by two segments, one segment has an empty value for an attribute and the other has a non-empty value, use the non-empty value for both. |
CoClasses and Classes | Description |
---|---|
Path | A sequence of connected segments. |
Polygon | A collection of rings ordered by their containment relationship; optionally has measure, height and ID attributes. |
Polyline | An ordered collection of paths; optionally has measure, height and ID attributes. |
Ring | An area bounded by one, closed sequence of connected segments; optionally has measure, height and ID attributes at each vertex. |
ISegment Interface | ILine Interface | IEllipticArc Interface | ICircularArc Interface | IBezierCurve Interface | ISegmentCollection Interface | IGeometryCollection Interface | IPointCollection Interface