月球大数据地理空间分析展示平台-【前端】-月球2期前端
Surpriseplus
2023-08-11 5c63e3106bc4b82e06d280bf7fd44785f07ac56a
public/CIMSDK/Workers/createCircleGeometry.js
@@ -1 +1 @@
define(["./Matrix3-293ae7b3","./defaultValue-865ac579","./EllipseGeometry-ab004366","./VertexFormat-20b5279f","./Math-76ce6367","./Transforms-36e0c57f","./Matrix2-7f5bbd54","./RuntimeError-9e0724f9","./combine-5e110d09","./ComponentDatatype-985dcc38","./WebGLConstants-258cf3a0","./EllipseGeometryLibrary-bda8a026","./GeometryAttribute-df0cc42c","./GeometryAttributes-75794475","./GeometryInstance-0f6ca825","./GeometryOffsetAttribute-06264989","./GeometryPipeline-d395f1f6","./AttributeCompression-e34a188e","./EncodedCartesian3-d8932345","./IndexDatatype-16f6b4a1","./IntersectionTests-3a8233fc","./Plane-a7f8aee2"],(function(e,t,i,r,o,n,a,s,l,m,d,c,u,p,y,_,x,G,h,f,g,E){"use strict";function w(e){const r=(e=t.defaultValue(e,t.defaultValue.EMPTY_OBJECT)).radius,o={center:e.center,semiMajorAxis:r,semiMinorAxis:r,ellipsoid:e.ellipsoid,height:e.height,extrudedHeight:e.extrudedHeight,granularity:e.granularity,vertexFormat:e.vertexFormat,stRotation:e.stRotation,shadowVolume:e.shadowVolume};this._ellipseGeometry=new i.EllipseGeometry(o),this._workerName="createCircleGeometry"}w.packedLength=i.EllipseGeometry.packedLength,w.pack=function(e,t,r){return i.EllipseGeometry.pack(e._ellipseGeometry,t,r)};const A=new i.EllipseGeometry({center:new e.Cartesian3,semiMajorAxis:1,semiMinorAxis:1}),M={center:new e.Cartesian3,radius:void 0,ellipsoid:e.Ellipsoid.clone(e.Ellipsoid.UNIT_SPHERE),height:void 0,extrudedHeight:void 0,granularity:void 0,vertexFormat:new r.VertexFormat,stRotation:void 0,semiMajorAxis:void 0,semiMinorAxis:void 0,shadowVolume:void 0};return w.unpack=function(o,n,a){const s=i.EllipseGeometry.unpack(o,n,A);return M.center=e.Cartesian3.clone(s._center,M.center),M.ellipsoid=e.Ellipsoid.clone(s._ellipsoid,M.ellipsoid),M.height=s._height,M.extrudedHeight=s._extrudedHeight,M.granularity=s._granularity,M.vertexFormat=r.VertexFormat.clone(s._vertexFormat,M.vertexFormat),M.stRotation=s._stRotation,M.shadowVolume=s._shadowVolume,t.defined(a)?(M.semiMajorAxis=s._semiMajorAxis,M.semiMinorAxis=s._semiMinorAxis,a._ellipseGeometry=new i.EllipseGeometry(M),a):(M.radius=s._semiMajorAxis,new w(M))},w.createGeometry=function(e){return i.EllipseGeometry.createGeometry(e._ellipseGeometry)},w.createShadowVolume=function(e,t,i){const o=e._ellipseGeometry._granularity,n=e._ellipseGeometry._ellipsoid,a=t(o,n),s=i(o,n);return new w({center:e._ellipseGeometry._center,radius:e._ellipseGeometry._semiMajorAxis,ellipsoid:n,stRotation:e._ellipseGeometry._stRotation,granularity:o,extrudedHeight:a,height:s,vertexFormat:r.VertexFormat.POSITION_ONLY,shadowVolume:!0})},Object.defineProperties(w.prototype,{rectangle:{get:function(){return this._ellipseGeometry.rectangle}},textureCoordinateRotationPoints:{get:function(){return this._ellipseGeometry.textureCoordinateRotationPoints}}}),function(i,r){return t.defined(r)&&(i=w.unpack(i,r)),i._ellipseGeometry._center=e.Cartesian3.clone(i._ellipseGeometry._center),i._ellipseGeometry._ellipsoid=e.Ellipsoid.clone(i._ellipseGeometry._ellipsoid),w.createGeometry(i)}}));
define(["./Matrix3-c381b58e","./defaultValue-865ac579","./EllipseGeometry-17653f1a","./VertexFormat-20b5279f","./Math-76ce6367","./Transforms-ea9ca02d","./Matrix2-f88429ba","./RuntimeError-9e0724f9","./combine-5e110d09","./ComponentDatatype-985dcc38","./WebGLConstants-258cf3a0","./EllipseGeometryLibrary-7bd58025","./GeometryAttribute-d025250e","./GeometryAttributes-75794475","./GeometryInstance-8b896a8b","./GeometryOffsetAttribute-06264989","./GeometryPipeline-f311ba05","./AttributeCompression-194a7de3","./EncodedCartesian3-7da52f0b","./IndexDatatype-16f6b4a1","./IntersectionTests-c82940c4","./Plane-c6962071"],(function(e,t,i,r,o,n,s,a,l,m,d,c,u,p,y,_,x,G,h,f,g,E){"use strict";function b(e){const r=(e=t.defaultValue(e,t.defaultValue.EMPTY_OBJECT)).radius,o={center:e.center,semiMajorAxis:r,semiMinorAxis:r,ellipsoid:e.ellipsoid,height:e.height,extrudedHeight:e.extrudedHeight,granularity:e.granularity,vertexFormat:e.vertexFormat,stRotation:e.stRotation,shadowVolume:e.shadowVolume};this._ellipseGeometry=new i.EllipseGeometry(o),this._workerName="createCircleGeometry"}b.packedLength=i.EllipseGeometry.packedLength,b.pack=function(e,t,r){return i.EllipseGeometry.pack(e._ellipseGeometry,t,r)};const w=new i.EllipseGeometry({center:new e.Cartesian3,semiMajorAxis:1,semiMinorAxis:1}),A={center:new e.Cartesian3,radius:void 0,ellipsoid:e.Ellipsoid.clone(e.Ellipsoid.UNIT_SPHERE),height:void 0,extrudedHeight:void 0,granularity:void 0,vertexFormat:new r.VertexFormat,stRotation:void 0,semiMajorAxis:void 0,semiMinorAxis:void 0,shadowVolume:void 0};return b.unpack=function(o,n,s){const a=i.EllipseGeometry.unpack(o,n,w);return A.center=e.Cartesian3.clone(a._center,A.center),A.ellipsoid=e.Ellipsoid.clone(a._ellipsoid,A.ellipsoid),A.height=a._height,A.extrudedHeight=a._extrudedHeight,A.granularity=a._granularity,A.vertexFormat=r.VertexFormat.clone(a._vertexFormat,A.vertexFormat),A.stRotation=a._stRotation,A.shadowVolume=a._shadowVolume,t.defined(s)?(A.semiMajorAxis=a._semiMajorAxis,A.semiMinorAxis=a._semiMinorAxis,s._ellipseGeometry=new i.EllipseGeometry(A),s):(A.radius=a._semiMajorAxis,new b(A))},b.createGeometry=function(e){return i.EllipseGeometry.createGeometry(e._ellipseGeometry)},b.createShadowVolume=function(e,t,i){const o=e._ellipseGeometry._granularity,n=e._ellipseGeometry._ellipsoid,s=t(o,n),a=i(o,n);return new b({center:e._ellipseGeometry._center,radius:e._ellipseGeometry._semiMajorAxis,ellipsoid:n,stRotation:e._ellipseGeometry._stRotation,granularity:o,extrudedHeight:s,height:a,vertexFormat:r.VertexFormat.POSITION_ONLY,shadowVolume:!0})},Object.defineProperties(b.prototype,{rectangle:{get:function(){return this._ellipseGeometry.rectangle}},textureCoordinateRotationPoints:{get:function(){return this._ellipseGeometry.textureCoordinateRotationPoints}}}),function(i,r){return t.defined(r)&&(i=b.unpack(i,r)),i._ellipseGeometry._center=e.Cartesian3.clone(i._ellipseGeometry._center),i._ellipseGeometry._ellipsoid=e.Ellipsoid.clone(i._ellipseGeometry._ellipsoid),b.createGeometry(i)}}));