Function SplitAtPoint( _ ByVal multipart As Multipart, _ ByVal splitPoint As MapPoint, _ ByVal projectOnto As Boolean, _ ByVal createPart As Boolean, _ ByRef splitOccurred As Boolean, _ ByRef partIndex As Integer, _ ByRef segmentIndex As Integer _ ) As Multipart
Multipart SplitAtPoint( Multipart multipart, MapPoint splitPoint, bool projectOnto, bool createPart, out bool splitOccurred, out int partIndex, out int segmentIndex )
Parameters
- multipart
- The multipart along which the point will be inserted.
- splitPoint
- The point to be inserted.
- projectOnto
- Determines if the output point will be located on the curve. If true and the splitPoint is not already on the curve then the point is projected onto the curve.
- createPart
- Determines if parts are to be created. MUST be false for polygons. For polylines, if true, the part on which the new split point falls is split into two parts with the newly added vertex serving as the end of the first part and the beginning of the second.
- splitOccurred
- Determines if a split occurred.
- partIndex
- Part index that has the point added. If splitOccurred is false, this value should be ignored.
- segmentIndex
- Segment index that has the point added. The segment may be a newly created segment. If splitOccurred is false, this value should be ignored.
Return Value
A geometry with the new vertex added. If no split occurred, then the original multipart is returned.