define(["./when-54335d57","./Rectangle-82621db8","./Transforms-b51fdb37","./ComponentDatatype-1a100acd","./Check-24483042","./GeometryAttribute-02fdce7a","./GeometryAttributes-caa08d6c","./IndexDatatype-edb2f4d6","./Math-7a8129d6","./VertexFormat-81ec7207","./WallGeometryLibrary-567e4388","./PixelFormat-d198afce","./WebGLConstants-95ceb4e9","./RuntimeError-88a32665","./arrayRemoveDuplicates-6dfd408b","./PolylinePipeline-c53252ef","./EllipsoidGeodesic-2a3101f9","./EllipsoidRhumbLine-2550c0e1","./IntersectionTests-afc06c64","./Plane-fd9e13db"],function(Y,Z,j,K,e,Q,X,$,ee,u,te,t,a,i,r,n,o,s,m,l){"use strict";var ae=new Z.Cartesian3,ie=new Z.Cartesian3,re=new Z.Cartesian3,ne=new Z.Cartesian3,oe=new Z.Cartesian3,se=new Z.Cartesian3,me=new Z.Cartesian3;function p(e){var t=(e=Y.defaultValue(e,Y.defaultValue.EMPTY_OBJECT)).positions,a=e.maximumHeights,i=e.minimumHeights,r=Y.defaultValue(e.vertexFormat,u.VertexFormat.DEFAULT),n=Y.defaultValue(e.granularity,ee.CesiumMath.RADIANS_PER_DEGREE),o=Y.defaultValue(e.ellipsoid,Z.Ellipsoid.WGS84);this._positions=t,this._minimumHeights=i,this._maximumHeights=a,this._vertexFormat=u.VertexFormat.clone(r),this._granularity=n,this._ellipsoid=Z.Ellipsoid.clone(o),this._workerName="createWallGeometry";var s=1+t.length*Z.Cartesian3.packedLength+2;Y.defined(i)&&(s+=i.length),Y.defined(a)&&(s+=a.length),this.packedLength=s+Z.Ellipsoid.packedLength+u.VertexFormat.packedLength+1}p.pack=function(e,t,a){var i;a=Y.defaultValue(a,0);var r=e._positions,n=r.length;for(t[a++]=n,i=0;i