This document is archived and information here might be outdated. Recommended version. |
Adds references to the segments from the specified segment collection.
[Visual Basic .NET] Public Sub AddSegmentCollection ( _ ByVal segments As ISegmentCollection _ )
[C#] public void AddSegmentCollection ( ISegmentCollection segments );
[C++]
HRESULT AddSegmentCollection(
ISegmentCollection* segments
);
[C++] Parameters segments
segments is a parameter of type ISegmentCollection*
Adds a Segment Collection of Segments to the end of the existing Segment Collection. It is assumed that the From Point of the new Segment Collection is the same as the To Point of the existing Segment Collection.
AddSegmentCollection add the other geometry to the last part of the current geometry.
For example, adding a polyline (with one part) to another polyline (with one part)
is adding the second polyline segments into the first part of the other polyline
even if the polylines are disjoint.