define(["./when-4bbc8319","./Matrix2-860854d4","./Transforms-0becfc64","./ComponentDatatype-8f55628c","./RuntimeError-1349fdaf","./GeometryAttribute-4590b388","./GeometryAttributes-7827a6c2","./IndexDatatype-1d853600","./WallGeometryLibrary-5659a4a7","./combine-e9466e32","./WebGLConstants-508b9636","./arrayRemoveDuplicates-b1a32b72","./PolylinePipeline-55bb263f","./EllipsoidGeodesic-0a6aa4ee","./EllipsoidRhumbLine-d4d43630","./IntersectionTests-1d677ce2","./Plane-0e4269ac"],(function(e,i,t,n,o,a,s,r,l,m,d,u,p,c,f,h,g){"use strict";const y=new i.Cartesian3,_=new i.Cartesian3;function E(t){const o=(t=e.defaultValue(t,e.defaultValue.EMPTY_OBJECT)).positions,a=t.maximumHeights,s=t.minimumHeights,r=e.defaultValue(t.granularity,n.CesiumMath.RADIANS_PER_DEGREE),l=e.defaultValue(t.ellipsoid,i.Ellipsoid.WGS84);this._positions=o,this._minimumHeights=s,this._maximumHeights=a,this._granularity=r,this._ellipsoid=i.Ellipsoid.clone(l),this._workerName="createWallOutlineGeometry";let m=1+o.length*i.Cartesian3.packedLength+2;e.defined(s)&&(m+=s.length),e.defined(a)&&(m+=a.length),this.packedLength=m+i.Ellipsoid.packedLength+1}E.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