src/data/GeometryUtils.js
function(polygons, clipPolygon) {
        var result = [];
        for (var i = 0; i < polygons.length; i++) {
            var r = this.clipPolygon(polygons[i], clipPolygon);
            if (r && r.length) {
                result.push(r);
            }
        }
        return result;
    }
function(polygons, clipPolygon) {
        var result = [];
        for (var i = 0; i < polygons.length; i++) {
            var r = this.clipPolygon(polygons[i], clipPolygon);
            if (r && r.length) {
                result.push(r);
            }
        }
        return result;
    }
function ( polygons , clipPolygon ) { var result = [ ] ; for ( var i = 0 ; i < polygons . length ; i ++ ) { var r = this . clipPolygon ( polygons [ i ] , clipPolygon ) ; if ( r && r . length ) { result . push ( r ) ; } } return result ; }
Returns an interection of a list of polygons with the specified clip
polygon
Returns an interection of a list of polygons with the specified clip polygon