define(["exports","./Matrix2-ccd5b911","./RuntimeError-346a3079","./when-4bbc8319","./Transforms-d5c6ad6e"],function(e,f,n,h,a){"use strict";function y(e,n,i){this.minimum=f.Cartesian3.clone(h.defaultValue(e,f.Cartesian3.ZERO)),this.maximum=f.Cartesian3.clone(h.defaultValue(n,f.Cartesian3.ZERO)),i=h.defined(i)?f.Cartesian3.clone(i):f.Cartesian3.midpoint(this.minimum,this.maximum,new f.Cartesian3),this.center=i}y.fromPoints=function(e,n){if(h.defined(n)||(n=new y),!h.defined(e)||0===e.length)return n.minimum=f.Cartesian3.clone(f.Cartesian3.ZERO,n.minimum),n.maximum=f.Cartesian3.clone(f.Cartesian3.ZERO,n.maximum),n.center=f.Cartesian3.clone(f.Cartesian3.ZERO,n.center),n;for(var i=e[0].x,t=e[0].y,a=e[0].z,m=e[0].x,r=e[0].y,s=e[0].z,u=e.length,c=1;c