Function GeometrySingleton.intersectPolylineWithPolygon2d
Intersects polyline
with polygon
and returns an array of intersected polylines. This performs constant OPERATION_INTERSECTION
between the polyline and the polygon. This operation can be thought of as chopping a line with a closed shape.