define(["./defaultValue-865ac579","./Matrix3-aeb3c326","./Transforms-221c7c82","./ComponentDatatype-985dcc38","./GeometryAttribute-642addba","./GeometryAttributes-75794475","./IndexDatatype-16f6b4a1","./Math-76ce6367","./WallGeometryLibrary-c46d2ee9","./Matrix2-2fdcdec7","./RuntimeError-9e0724f9","./combine-5e110d09","./WebGLConstants-258cf3a0","./arrayRemoveDuplicates-398390b2","./PolylinePipeline-482bb0f7","./EllipsoidGeodesic-ec5fd429","./EllipsoidRhumbLine-2cf9c5ef","./IntersectionTests-7b064f18","./Plane-fbab0ca2"],(function(e,i,t,n,o,a,s,r,l,m,d,u,c,p,f,h,g,y,_){"use strict";const E=new i.Cartesian3,b=new i.Cartesian3;function C(t){const n=(t=e.defaultValue(t,e.defaultValue.EMPTY_OBJECT)).positions,o=t.maximumHeights,a=t.minimumHeights,s=e.defaultValue(t.granularity,r.CesiumMath.RADIANS_PER_DEGREE),l=e.defaultValue(t.ellipsoid,i.Ellipsoid.WGS84);this._positions=n,this._minimumHeights=a,this._maximumHeights=o,this._granularity=s,this._ellipsoid=i.Ellipsoid.clone(l),this._workerName="createWallOutlineGeometry";let m=1+n.length*i.Cartesian3.packedLength+2;e.defined(a)&&(m+=a.length),e.defined(o)&&(m+=o.length),this.packedLength=m+i.Ellipsoid.packedLength+1}C.pack=function(t,n,o){let a;o=e.defaultValue(o,0);const s=t._positions;let r=s.length;for(n[o++]=r,a=0;a0)for(l=new Array(s),a=0;a0)for(m=new Array(s),a=0;a