月球大数据地理空间分析展示平台-【前端】-月球2期前端
Surpriseplus
2023-07-05 52cf8c657bab61b93b138c8677472d7a3ce8405f
1
define(["./defaultValue-abec0268","./Transforms-98e4fe15","./Matrix3-2b60b40d","./ComponentDatatype-565a8190","./GeometryAttribute-2634d326","./GeometryAttributes-50483cde","./Math-a56d1479","./Matrix2-9599853a","./RuntimeError-279c39be","./combine-7a07cedd","./WebGLConstants-292d99ef"],(function(e,t,n,r,a,i,o,u,c,s,y){"use strict";function m(){this._workerName="createPlaneOutlineGeometry"}m.packedLength=0,m.pack=function(e,t){return t},m.unpack=function(t,n,r){return e.defined(r)?r:new m};const d=new n.Cartesian3(-.5,-.5,0),p=new n.Cartesian3(.5,.5,0);return m.createGeometry=function(){const e=new i.GeometryAttributes,o=new Uint16Array(8),u=new Float64Array(12);return u[0]=d.x,u[1]=d.y,u[2]=d.z,u[3]=p.x,u[4]=d.y,u[5]=d.z,u[6]=p.x,u[7]=p.y,u[8]=d.z,u[9]=d.x,u[10]=p.y,u[11]=d.z,e.position=new a.GeometryAttribute({componentDatatype:r.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:u}),o[0]=0,o[1]=1,o[2]=1,o[3]=2,o[4]=2,o[5]=3,o[6]=3,o[7]=0,new a.Geometry({attributes:e,indices:o,primitiveType:a.PrimitiveType.LINES,boundingSphere:new t.BoundingSphere(n.Cartesian3.ZERO,Math.sqrt(2))})},function(t,n){return e.defined(n)&&(t=m.unpack(t,n)),m.createGeometry(t)}}));