Splitting polygons by a draggable segment