static combineBBoxes(...bboxes) {
    const [x1, y1, x2, y2] = Geometry.getPointsBBox(
      bboxes.reduce((points, bbox) => {
        if (bbox && bbox.x && bbox.y) {
          points.push(bbox.x);
          points.push(bbox.y);
          points.push(bbox.x + bbox.width);
          points.push(bbox.y + bbox.height);
        }
        return points;
      }, []),
    );

    return { x: x1, y: y1, width: x2 - x1, height: y2 - y1 };
  }
Combine two or more BBoxes into one
@param {...BBox} bboxes Bboxes to merge
@return {BBox}