Parameters
- partIndex
- 0 based index. Specify 0 to remove a segment from the first part. Specify (CountParts - 1) or -1 to remove a segment from the last part.
- segmentIndex
- 0 based index. Specify 0 to remove the first segment. Specify (CountSegments - 1) or -1 to remove the last segment.
- closeGap
- Set to true to create a connected part after the remove.