Just in case anyone stumbles across this, this is the helper function that I wrote for getting the boundingBox for an array of geometries. Of course, I cannot guarantee that it is reliable, but it has worked for me so far.

```
/***getBoundingBoxForGeos
*@author DAUD
*@geometriesScenePaths expects an array of scenePaths for all geoemtries that should be encapsulated in the bounding box
*@return the bounding box encapsulating all geometries in geometriesScenePaths
*/
function getBoundingBoxForGeos(geometriesScenePaths){
let min = undefined;
let max = undefined;
geometriesScenePaths.forEach( (scenePath) => {
let geoBB = api.scene.getBoundingBox(scenePath).data;
if(min==undefined){//FIRST LOOP
min = JSON.parse(JSON.stringify(geoBB.min)); //shallow copy;
max = JSON.parse(JSON.stringify(geoBB.max));
}else{
//MIN
min.x = Math.min(geoBB.min.x, min.x);
min.y = Math.min(geoBB.min.y, min.y);
min.z = Math.min(geoBB.min.z, min.z);
//MAX
max.x = Math.max(geoBB.max.x, max.x);
max.y = Math.max(geoBB.max.y, max.y);
max.z = Math.max(geoBB.max.z, max.z);
}
});
return {min:min, max: max};
}
```