public IReadOnlyList<Geometry> Cut( Multipart multipart, Polyline cutter, bool considerTouch )
Public Overloads Function Cut( _ ByVal multipart As Multipart, _ ByVal cutter As Polyline, _ ByVal considerTouch As Boolean _ ) As IReadOnlyList(Of Geometry)
Parameters
- multipart
- The polygon or polyline to cut.
- cutter
- The cutting polyline.
- considerTouch
- Indicates whether to consider a touch event to be a cut. It applies only when the cuttee is a polyline.
Return Value
An IReadOnlyList<Geometry> representing the cut geometries. If the cutter or cuttee is empty, then an empty list is returned.
If there are no cuts, then an empty list is returned. If the left cut doesn't exist, then the first geometry will be empty. Similarly, if
the right cut doesn't exist, the second geometry will be empty. An undefined cut will be produced only if a left or right cut exists and there
is a part leftover.