define(["./when-7b580518","./Cartesian2-40b13f31","./Transforms-a7d32f6c","./ComponentDatatype-6c2e43c1","./Check-3917d765","./GeometryAttribute-8f00b923","./GeometryAttributes-fbd9a3fb","./IndexDatatype-b42089ce","./Math-87254c13","./WallGeometryLibrary-be93455a","./combine-83aa7971","./RuntimeError-fad4d3c6","./WebGLConstants-4e26b85a","./arrayRemoveDuplicates-47b233f1","./PolylinePipeline-ce297e94","./EllipsoidGeodesic-bdbae7c8","./EllipsoidRhumbLine-6baec512","./IntersectionTests-2dece3b4","./Plane-69fa3eea"],function(b,v,C,H,e,A,k,w,G,L,i,t,a,n,r,o,s,l,m){"use strict";var x=new v.Cartesian3,P=new v.Cartesian3;function d(e){var i=(e=b.defaultValue(e,b.defaultValue.EMPTY_OBJECT)).positions,t=e.maximumHeights,a=e.minimumHeights,n=b.defaultValue(e.granularity,G.CesiumMath.RADIANS_PER_DEGREE),e=b.defaultValue(e.ellipsoid,v.Ellipsoid.WGS84);this._positions=i,this._minimumHeights=a,this._maximumHeights=t,this._granularity=n,this._ellipsoid=v.Ellipsoid.clone(e),this._workerName="createWallOutlineGeometry";i=1+i.length*v.Cartesian3.packedLength+2;b.defined(a)&&(i+=a.length),b.defined(t)&&(i+=t.length),this.packedLength=i+v.Ellipsoid.packedLength+1}d.pack=function(e,i,t){var a;t=b.defaultValue(t,0);var n=e._positions,r=n.length;for(i[t++]=r,a=0;a