define(["./defaultValue-865ac579","./Matrix3-c381b58e","./Transforms-ea9ca02d","./ComponentDatatype-985dcc38","./GeometryAttribute-d025250e","./GeometryAttributes-75794475","./IndexDatatype-16f6b4a1","./Math-76ce6367","./WallGeometryLibrary-9f289f58","./Matrix2-f88429ba","./RuntimeError-9e0724f9","./combine-5e110d09","./WebGLConstants-258cf3a0","./arrayRemoveDuplicates-398390b2","./PolylinePipeline-5d864480","./EllipsoidGeodesic-bce49915","./EllipsoidRhumbLine-62d76d47","./IntersectionTests-c82940c4","./Plane-c6962071"],(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,C=new i.Cartesian3;function H(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}H.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