define(["./when-54335d57","./Rectangle-82621db8","./Transforms-b51fdb37","./ComponentDatatype-1a100acd","./Check-24483042","./GeometryAttribute-02fdce7a","./GeometryAttributes-caa08d6c","./IndexDatatype-edb2f4d6","./Math-7a8129d6","./WallGeometryLibrary-567e4388","./PixelFormat-d198afce","./WebGLConstants-95ceb4e9","./RuntimeError-88a32665","./arrayRemoveDuplicates-6dfd408b","./PolylinePipeline-c53252ef","./EllipsoidGeodesic-2a3101f9","./EllipsoidRhumbLine-2550c0e1","./IntersectionTests-afc06c64","./Plane-fd9e13db"],function(x,G,L,P,e,T,D,V,R,I,i,t,a,n,r,o,s,l,d){"use strict";var S=new G.Cartesian3,M=new G.Cartesian3;function m(e){var i=(e=x.defaultValue(e,x.defaultValue.EMPTY_OBJECT)).positions,t=e.maximumHeights,a=e.minimumHeights,n=x.defaultValue(e.granularity,R.CesiumMath.RADIANS_PER_DEGREE),r=x.defaultValue(e.ellipsoid,G.Ellipsoid.WGS84);this._positions=i,this._minimumHeights=a,this._maximumHeights=t,this._granularity=n,this._ellipsoid=G.Ellipsoid.clone(r),this._workerName="createWallOutlineGeometry";var o=1+i.length*G.Cartesian3.packedLength+2;x.defined(a)&&(o+=a.length),x.defined(t)&&(o+=t.length),this.packedLength=o+G.Ellipsoid.packedLength+1}m.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