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