docs/csg.js
function(csg) {
            var newpolygons = this.polygons.concat(csg.polygons);
            var result = CSG.fromPolygons(newpolygons);
            result.properties = this.properties._merge(csg.properties);
            result.isCanonicalized = this.isCanonicalized && csg.isCanonicalized;
            result.isRetesselated = this.isRetesselated && csg.isRetesselated;
            return result;
        }
function(csg) {
            var newpolygons = this.polygons.concat(csg.polygons);
            var result = CSG.fromPolygons(newpolygons);
            result.properties = this.properties._merge(csg.properties);
            result.isCanonicalized = this.isCanonicalized && csg.isCanonicalized;
            result.isRetesselated = this.isRetesselated && csg.isRetesselated;
            return result;
        }
function ( csg ) { var newpolygons = this . polygons . concat ( csg . polygons ) ; var result = CSG . fromPolygons ( newpolygons ) ; result . properties = this . properties . _merge ( csg . properties ) ; result . isCanonicalized = this . isCanonicalized && csg . isCanonicalized ; result . isRetesselated = this . isRetesselated && csg . isRetesselated ; return result ; }
Like union, but when we know that the two solids are not intersecting Do not use if you are not completely sure that the solids do not intersect!
Like union but when we know that the two solids are not intersecting Do not use if you are not completely sure that the solids do not intersect!