define(["./when-515d5295","./Rectangle-e170be8b","./buildModuleUrl-dba4ec07","./Cartographic-1bbcab04","./ComponentDatatype-d430c7f7","./Check-3aa71481","./GeometryAttribute-9bc31a7f","./GeometryAttributes-7d904f0f","./IndexDatatype-eefd5922","./Math-5e38123d","./PrimitiveType-b38a4004","./WallGeometryLibrary-240d09b5","./Intersect-53434a77","./Event-9821f5d9","./RuntimeError-350acae3","./WebGLConstants-77a84876","./Cartesian2-1b9b0d8a","./FeatureDetection-7fae0d5a","./Cartesian4-034d54d5","./arrayRemoveDuplicates-a4c6347e","./PolylinePipeline-bf1462fc","./EllipsoidGeodesic-e5406761","./EllipsoidRhumbLine-f50fdea6","./IntersectionTests-5fa33dbd","./Plane-92c15089"],(function(e,i,t,n,a,r,o,s,m,l,p,u,h,d,c,g,f,y,v,w,_,b,H,E,k){"use strict";var A=new n.a,x=new n.a;function L(t){var a=(t=e.e(t,e.e.EMPTY_OBJECT)).positions,o=t.maximumHeights,s=t.minimumHeights;if(!e.t(a))throw new r.t("options.positions is required.");if(e.t(o)&&o.length!==a.length)throw new r.t("options.positions and options.maximumHeights must have the same length.");if(e.t(s)&&s.length!==a.length)throw new r.t("options.positions and options.minimumHeights must have the same length.");var m=e.e(t.granularity,l.n.RADIANS_PER_DEGREE),p=e.e(t.ellipsoid,i.n.WGS84);this._positions=a,this._minimumHeights=s,this._maximumHeights=o,this._granularity=m,this._ellipsoid=i.n.clone(p),this._workerName="createWallOutlineGeometry";var u=1+a.length*n.a.packedLength+2;e.t(s)&&(u+=s.length),e.t(o)&&(u+=o.length),this.packedLength=u+i.n.packedLength+1}L.pack=function(t,a,o){if(!e.t(t))throw new r.t("value is required");if(!e.t(a))throw new r.t("array is required");o=e.e(o,0);var s,m=t._positions,l=m.length;for(a[o++]=l,s=0;s0)for(m=new Array(p),s=0;s0)for(l=new Array(p),s=0;s