define(["./when-b60132fc","./Cartesian2-47311507","./buildModuleUrl-57a32107","./Cartographic-3309dd0d","./ComponentDatatype-c140a87d","./Check-7b2a090c","./GeometryAttribute-c42d25b7","./GeometryAttributes-252e9929","./IndexDatatype-8a5eead4","./Math-119be1a3","./VertexFormat-6446fca0","./WallGeometryLibrary-db59a9c7","./Matrix4-cde86d0e","./WebGLConstants-4ae0db90","./RuntimeError-4a5c8994","./FeatureDetection-c3b71206","./Cartesian4-3ca25aab","./arrayRemoveDuplicates-d2f048c5","./PolylinePipeline-4ec7a59e","./EllipsoidGeodesic-0f19ac62","./EllipsoidRhumbLine-ed1a6bf4","./IntersectionTests-5e35c2ab","./Plane-ca0357f4"],(function(e,t,a,i,n,r,o,s,l,m,u,p,d,c,y,f,C,g,h,v,b,x,A){"use strict";var _=new i.Cartesian3,E=new i.Cartesian3,F=new i.Cartesian3,w=new i.Cartesian3,k=new i.Cartesian3,L=new i.Cartesian3,P=new i.Cartesian3,D=new i.Cartesian3;function G(a){var n=(a=e.defaultValue(a,e.defaultValue.EMPTY_OBJECT)).positions,r=a.maximumHeights,o=a.minimumHeights,s=e.defaultValue(a.vertexFormat,u.VertexFormat.DEFAULT),l=e.defaultValue(a.granularity,m.CesiumMath.RADIANS_PER_DEGREE),p=e.defaultValue(a.ellipsoid,t.Ellipsoid.WGS84);this._positions=n,this._minimumHeights=o,this._maximumHeights=r,this._vertexFormat=u.VertexFormat.clone(s),this._granularity=l,this._ellipsoid=t.Ellipsoid.clone(p),this._enuCenter=a.enuCenter,this._workerName="createWallGeometry";var d=1+n.length*i.Cartesian3.packedLength+2;e.defined(o)&&(d+=o.length),e.defined(r)&&(d+=r.length),this.packedLength=d+t.Ellipsoid.packedLength+u.VertexFormat.packedLength+1,this.packedLength+=i.Cartesian3.packedLength}G.pack=function(a,n,r){var o;r=e.defaultValue(r,0);var s=a._positions,l=s.length;for(n[r++]=l,o=0;o0)for(s=new Array(m),o=0;o0)for(l=new Array(m),o=0;o