ArcGIS Pro 2.6 API Reference Guide
MultipartBuilder<T> Class Methods


ArcGIS.Core.Geometry Namespace : MultipartBuilder<T> Class

For a list of all members of this type, see MultipartBuilder<T> members.

Public Methods
 NameDescription
Public MethodOverloaded.   
Public Method Adds the parts constructed from the set of enumeration of line segments to the MultipartBuilder. This method must be called on the MCT. Use QueuedTask.Run.  
Public MethodOverloaded.   
Public Method Gets the count of segments for the specified part. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method (Inherited from ArcGIS.Core.CoreObjectsBase)
Public MethodGet a SegmentBuilder for the segment at the specified index on the specified part of the MultipartBuilder. This method must be called on the MCT. Use QueuedTask.Run.  
Public MethodOverloaded.   
Public Method Insert the parts constructed from the set of enumeration of line segments to the MultipartBuilder before the specified index. This method must be called on the MCT. Use QueuedTask.Run.  
Public MethodOverloaded.   
Public MethodRemove the part specified by partIndex. This method must be called on the MCT. Use QueuedTask.Run.  
Public MethodRemove the segment at the specified index from the part specified by partIndex. There is no return value. This method must be called on the MCT. Use QueuedTask.Run.

Note: a value of partIndex=-1, segmentIndex=-1 removes the last segment from the last part of the multipart. All other combinations should be self-explanatory.

 
Public Method Changes the direction of the MultipartBuilder parts without changing the spatial position of the parts. The From Point and To Point of each Segment in each part of the MultipartBuilder are interchanged. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Sets the geometry of this builder to empty. This method must be called on the MCT. Use QueuedTask.Run. (Inherited from ArcGIS.Core.Geometry.GeometryBuilder<T>)
Public MethodIntroduces a new vertex into the last part of this polyline at a specified distance from the beginning of the polyline. For a split to happen, the split distance must be between the From and To points of the polycurve. This method must be called on the MCT. Use QueuedTask.Run.  
Public MethodIntroduces a new vertex point to the part specified by partIndex at a specified distance from the From point of the curve. For a split to happen, the split distance must be between the From and To points of the part. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method (Inherited from ArcGIS.Core.Geometry.GeometryBuilder<T>)
Top
See Also

Reference

MultipartBuilder<T> Class
ArcGIS.Core.Geometry Namespace