define(["./when-e3a49219","./Matrix2-ae0e0b05","./Transforms-a6362ad2","./ComponentDatatype-64cf6611","./RuntimeError-ffc802eb","./GeometryAttribute-50aef525","./GeometryAttributes-3db3f2c9","./IndexDatatype-e12e2493","./WallGeometryLibrary-912804eb","./PixelFormat-83d70a69","./WebGLConstants-1c8239cc","./combine-c7a1ec8a","./arrayRemoveDuplicates-328bac4c","./PolylinePipeline-e16881a5","./EllipsoidGeodesic-524df442","./EllipsoidRhumbLine-b6518e5c","./IntersectionTests-8be403d7","./Plane-2bf1bb80"],(function(e,i,t,a,n,r,o,s,l,m,d,u,p,f,c,h,g,y){"use strict";var v=new i.Cartesian3,_=new i.Cartesian3;function E(t){var n=(t=e.defaultValue(t,e.defaultValue.EMPTY_OBJECT)).positions,r=t.maximumHeights,o=t.minimumHeights,s=e.defaultValue(t.granularity,a.CesiumMath.RADIANS_PER_DEGREE),l=e.defaultValue(t.ellipsoid,i.Ellipsoid.WGS84);this._positions=n,this._minimumHeights=o,this._maximumHeights=r,this._granularity=s,this._ellipsoid=i.Ellipsoid.clone(l),this._workerName="createWallOutlineGeometry";var m=1+n.length*i.Cartesian3.packedLength+2;e.defined(o)&&(m+=o.length),e.defined(r)&&(m+=r.length),this.packedLength=m+i.Ellipsoid.packedLength+1}E.pack=function(t,a,n){var r;n=e.defaultValue(n,0);var o=t._positions,s=o.length;for(a[n++]=s,r=0;r0)for(o=new Array(l),r=0;r0)for(s=new Array(l),r=0;r