/* 2020-9-22 15:23:25 | 版权所有 军懋国兴  */
define(["./when-cbf8cd21","./Check-35e1a91d","./Math-69007a69","./Cartesian2-43e3a3be","./Transforms-2d1ac5ec","./RuntimeError-f4c64df1","./WebGLConstants-95ceb4e9","./ComponentDatatype-607c9a0c","./GeometryAttribute-2303bbfb","./GeometryAttributes-90846c5f","./IndexDatatype-79bb407c","./GeometryOffsetAttribute-9c676324","./EllipsoidOutlineGeometry-03485d1a"],function(n,r,e,o,i,t,s,a,c,d,l,u,p){"use strict";function m(e){var i=n.defaultValue(e.radius,1),t={radii:new o.Cartesian3(i,i,i),stackPartitions:e.stackPartitions,slicePartitions:e.slicePartitions,subdivisions:e.subdivisions};this._ellipsoidGeometry=new p.EllipsoidOutlineGeometry(t),this._workerName="createSphereOutlineGeometry"}m.packedLength=p.EllipsoidOutlineGeometry.packedLength,m.pack=function(e,i,t){return r.Check.typeOf.object("value",e),p.EllipsoidOutlineGeometry.pack(e._ellipsoidGeometry,i,t)};var y=new p.EllipsoidOutlineGeometry,G={radius:void 0,radii:new o.Cartesian3,stackPartitions:void 0,slicePartitions:void 0,subdivisions:void 0};return m.unpack=function(e,i,t){var r=p.EllipsoidOutlineGeometry.unpack(e,i,y);return G.stackPartitions=r._stackPartitions,G.slicePartitions=r._slicePartitions,G.subdivisions=r._subdivisions,n.defined(t)?(o.Cartesian3.clone(r._radii,G.radii),t._ellipsoidGeometry=new p.EllipsoidOutlineGeometry(G),t):(G.radius=r._radii.x,new m(G))},m.createGeometry=function(e){return p.EllipsoidOutlineGeometry.createGeometry(e._ellipsoidGeometry)},function(e,i){return n.defined(i)&&(e=m.unpack(e,i)),m.createGeometry(e)}});