Function GeometrySingleton.clipPolylineWithPolygon2d
Clips polyline
against polygon
and returns an array of clipped polylines. This performs constant OPERATION_DIFFERENCE
between the polyline and the polygon. This operation can be thought of as cutting a line with a closed shape.