1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4418,5042,6439,87,7585,4886,6179,9978,1985],{75042:function(){},52087:function(t,e,a){"use strict";a.r(e),a.d(e,{default:function(){return l},extend:function(){return h},newInstance:function(){return o}});var n=a(73854),r=a(81025),s=a(53725);let i={radius:.5,latLongTessellation:!1,thetaResolution:8,startTheta:0,endTheta:360,phiResolution:8,startPhi:0,endPhi:180,center:[0,0,0],pointType:"Float64Array"};function h(t,e){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(e,i,a),n.m.obj(t,e),n.m.setGet(t,e,["radius","latLongTessellation","thetaResolution","startTheta","endTheta","phiResolution","startPhi","endPhi"]),n.m.setGetArray(t,e,["center"],3),n.m.algo(t,e,0,1),e.classHierarchy.push("vtkSphereSource"),t.requestData=(t,a)=>{if(e.deleted)return;let i=a[0],h=i?i.getPoints().getDataType():e.pointType;i=r.default.newInstance();let o=0,{thetaResolution:l}=e,u=e.startTheta<e.endTheta?e.startTheta:e.endTheta;u*=Math.PI/180;let c=e.endTheta>e.startTheta?e.endTheta:e.startTheta;c*=Math.PI/180;let d=e.startPhi<e.endPhi?e.startPhi:e.endPhi;d*=Math.PI/180;let P=e.endPhi>e.startPhi?e.endPhi:e.startPhi;P*=Math.PI/180,Math.abs(u-c)<2*Math.PI&&++l;let f=(c-u)/e.thetaResolution,p=e.startPhi<=0?1:0,T=e.phiResolution+(e.endPhi>=180?-1:0),y=e.phiResolution*l+2,M=2*e.phiResolution*e.thetaResolution,g=0,m=n.m.newTypedArray(h,3*y),R=new Float32Array(3*y),b=0,I=new Uint32Array(5*M);e.startPhi<=0&&(m[3*g+0]=e.center[0],m[3*g+1]=e.center[1],m[3*g+2]=e.center[2]+e.radius,R[3*g+0]=0,R[3*g+1]=0,R[3*g+2]=1,g++,o++),e.endPhi>=180&&(m[3*g+0]=e.center[0],m[3*g+1]=e.center[1],m[3*g+2]=e.center[2]-e.radius,R[3*g+0]=0,R[3*g+1]=0,R[3*g+2]=-1,g++,o++);let w=e.phiResolution-o,k=(P-d)/(e.phiResolution-1);for(let t=0;t<l;t++){let a=u+t*f;for(let t=p;t<T;t++){let n=d+t*k,r=e.radius*Math.sin(n);R[3*g+0]=r*Math.cos(a),R[3*g+1]=r*Math.sin(a),R[3*g+2]=e.radius*Math.cos(n),m[3*g+0]=R[3*g+0]+e.center[0],m[3*g+1]=R[3*g+1]+e.center[1],m[3*g+2]=R[3*g+2]+e.center[2];let s=Math.sqrt(R[3*g+0]*R[3*g+0]+R[3*g+1]*R[3*g+1]+R[3*g+2]*R[3*g+2]);s=0===s?1:s,R[3*g+0]/=s,R[3*g+1]/=s,R[3*g+2]/=s,g++}}let v=w*l;if(Math.abs(u-c)<2*Math.PI&&--l,e.startPhi<=0)for(let t=0;t<l;t++)I[b++]=3,I[b++]=w*t+o,I[b++]=w*(t+1)%v+o,I[b++]=0;if(e.endPhi>=180){let t=w-1+o;for(let e=0;e<l;e++)I[b++]=3,I[b++]=w*e+t,I[b++]=o-1,I[b++]=w*(e+1)%v+t}for(let t=0;t<l;t++)for(let a=0;a<w-1;a++){let n=w*t+a+o,r=n+1,s=(w*(t+1)+a)%v+o+1;e.latLongTessellation?(I[b++]=4,I[b++]=n,I[b++]=r):(I[b++]=3,I[b++]=n,I[b++]=r,I[b++]=s,I[b++]=3,I[b++]=n),I[b++]=s,I[b++]=s-1}m=m.subarray(0,3*g),i.getPoints().setData(m,3),R=R.subarray(0,3*g);let A=s.default.newInstance({name:"Normals",values:R,numberOfComponents:3});i.getPointData().setNormals(A),I=I.subarray(0,b),i.getPolys().setData(I,1),a[0]=i}}let o=n.m.newInstance(h,"vtkSphereSource");var l={newInstance:o,extend:h}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.