define(["./when-cbf8cd21","./Check-35e1a91d","./Math-e66fad2a","./Rectangle-53325d53","./WebGLConstants-95ceb4e9","./PixelFormat-d198afce","./Transforms-00c25a19","./RuntimeError-f4c64df1","./ComponentDatatype-7ee14e67","./GeometryAttribute-0b3418e6","./GeometryAttributes-90846c5f","./IndexDatatype-66caba23","./IntersectionTests-fdc68d04","./Plane-353c5ea0","./arrayRemoveDuplicates-b817241d","./EllipsoidRhumbLine-59f604d0","./EllipsoidGeodesic-f0048131","./PolylinePipeline-2c8508bb","./WallGeometryLibrary-40661529"],function(x,e,G,L,i,t,P,a,T,D,V,R,n,r,o,s,l,m,I){"use strict";var S=new L.Cartesian3,M=new L.Cartesian3;function d(e){var i=(e=x.defaultValue(e,x.defaultValue.EMPTY_OBJECT)).positions,t=e.maximumHeights,a=e.minimumHeights,n=x.defaultValue(e.granularity,G.CesiumMath.RADIANS_PER_DEGREE),r=x.defaultValue(e.ellipsoid,L.Ellipsoid.WGS84);this._positions=i,this._minimumHeights=a,this._maximumHeights=t,this._granularity=n,this._ellipsoid=L.Ellipsoid.clone(r),this._workerName="createWallOutlineGeometry";var o=1+i.length*L.Cartesian3.packedLength+2;x.defined(a)&&(o+=a.length),x.defined(t)&&(o+=t.length),this.packedLength=o+L.Ellipsoid.packedLength+1}d.pack=function(e,i,t){var a;t=x.defaultValue(t,0);var n=e._positions,r=n.length;for(i[t++]=r,a=0;a