define(["./defaultValue-94c3e563","./Matrix2-fc7e9822","./Transforms-3ac41eb6","./ComponentDatatype-4a60b8d6","./RuntimeError-c581ca93","./GeometryAttribute-a441ff32","./GeometryAttributes-7df9bef6","./IndexDatatype-db156785","./VertexFormat-e46f29d6","./WallGeometryLibrary-627e5288","./_commonjsHelpers-3aae1032-f55dc0c4","./combine-761d9c3f","./WebGLConstants-7dccdc96","./arrayRemoveDuplicates-06991c15","./PolylinePipeline-0e310844","./EllipsoidGeodesic-dc94f381","./EllipsoidRhumbLine-daebc75b","./IntersectionTests-68fbc42d","./Plane-e20fba8c"],(function(e,t,i,n,r,o,a,s,l,m,d,p,u,c,f,h,g,y,C){"use strict";const w=new t.Cartesian3,x=new t.Cartesian3,b=new t.Cartesian3,E=new t.Cartesian3,v=new t.Cartesian3,A=new t.Cartesian3,_=new t.Cartesian3;function F(i){i=e.defaultValue(i,e.defaultValue.EMPTY_OBJECT);const o=i.positions,a=i.maximumHeights,s=i.minimumHeights;if(!e.defined(o))throw new r.DeveloperError("options.positions is required.");if(e.defined(a)&&a.length!==o.length)throw new r.DeveloperError("options.positions and options.maximumHeights must have the same length.");if(e.defined(s)&&s.length!==o.length)throw new r.DeveloperError("options.positions and options.minimumHeights must have the same length.");const m=e.defaultValue(i.vertexFormat,l.VertexFormat.DEFAULT),d=e.defaultValue(i.granularity,n.CesiumMath.RADIANS_PER_DEGREE),p=e.defaultValue(i.ellipsoid,t.Ellipsoid.WGS84);this._positions=o,this._minimumHeights=s,this._maximumHeights=a,this._vertexFormat=l.VertexFormat.clone(m),this._granularity=d,this._ellipsoid=t.Ellipsoid.clone(p),this._workerName="createWallGeometry";let u=1+o.length*t.Cartesian3.packedLength+2;e.defined(s)&&(u+=s.length),e.defined(a)&&(u+=a.length),this.packedLength=u+t.Ellipsoid.packedLength+l.VertexFormat.packedLength+1}F.pack=function(i,n,o){if(!e.defined(i))throw new r.DeveloperError("value is required");if(!e.defined(n))throw new r.DeveloperError("array is required");let a;o=e.defaultValue(o,0);const s=i._positions;let m=s.length;for(n[o++]=m,a=0;a0)for(d=new Array(s),a=0;a0)for(p=new Array(s),a=0;a