define(["./AttributeCompression-8ecc041c","./Cartesian2-49b1de22","./Math-44e92d6b","./createTaskProcessorWorker","./Check-6c0211bc","./when-54c2dc71"],function(C,g,b,e,a,r){"use strict";var w=32767,k=new g.Cartographic,v=new g.Cartesian3,y=new g.Rectangle,A=new g.Ellipsoid,M={min:void 0,max:void 0};return e(function(e,a){var r=new Uint16Array(e.positions);!function(e){e=new Float64Array(e);var a=0;M.min=e[a++],M.max=e[a++],g.Rectangle.unpack(e,2,y),a+=g.Rectangle.packedLength,g.Ellipsoid.unpack(e,a,A)}(e.packedBuffer);var t=y,n=A,i=M.min,s=M.max,o=r.length/3,c=r.subarray(0,o),u=r.subarray(o,2*o),p=r.subarray(2*o,3*o);C.AttributeCompression.zigZagDeltaDecode(c,u,p);for(var h=new Float64Array(r.length),l=0;l<o;++l){var d=c[l],f=u[l],m=p[l],d=b.CesiumMath.lerp(t.west,t.east,d/w),f=b.CesiumMath.lerp(t.south,t.north,f/w),m=b.CesiumMath.lerp(i,s,m/w),m=g.Cartographic.fromRadians(d,f,m,k),m=n.cartographicToCartesian(m,v);g.Cartesian3.pack(m,h,3*l)}return a.push(h.buffer),{positions:h.buffer}})});
