Home
last modified time | relevance | path

Searched refs:torus (Results 1 – 25 of 1180) sorted by relevance

12345678910>>...48

/dports/graphics/rayshade/rayshade.4.0/libray/libobj/
H A Dtorus.c38 Torus *torus; local
58 torus->a = a;
59 torus->b = b;
60 torus->aa = a*a;
64 return torus;
72 Torus *torus; in TorusIntersect()
194 Torus *torus; in TorusNormal()
258 Torus *torus; in TorusUV()
294 cosphi = -(rad - torus->a) / torus->b;
318 Torus *torus; in TorusBounds()
[all …]
/dports/biology/molden/molden5.8/surf/
H A Dtessel_torus.c22 get_full_torus_mesh(sph, num_sph, torus, num_torus, flip, atom_id) in get_full_torus_mesh() argument
23 Big_Point *sph, *torus; in get_full_torus_mesh()
37 VEC3_ASN_OP(ave_t, +=, torus[i].vt.Coord);
41 find_plane_eq(torus[0].vt.Coord,torus[1].vt.Coord,torus[2].vt.Coord,plane_eq);
56 … { gen_flipped_sphere_tris(&sph[s_index], &torus[t_index], &torus[next_t_index], atom_id, flip);
74 … { gen_flipped_sphere_tris(&sph[s_index], &torus[t_index], &torus[next_t_index], atom_id, flip);
106 get_partial_torus_mesh(sph, num_sph, torus, num_torus, flip, atom_id) in get_partial_torus_mesh() argument
107 Big_Point *sph, *torus; in get_partial_torus_mesh()
117 find_plane_eq(torus[0].vt.Coord,torus[1].vt.Coord,torus[2].vt.Coord,plane_eq);
131 … { gen_flipped_sphere_tris(&sph[s_index], &torus[t_index], &torus[next_t_index], atom_id, flip);
[all …]
/dports/graphics/povray36/povray-3.6.1/scenes/advanced/piece2/
H A Dtori2.inc3 #declare torusx = torus { 9.5, 0.5 sturm }
4 #declare torus0 = torus { 9.376883, 0.500000 sturm }
5 #declare torus1 = torus { 9.010565, 0.500000 sturm }
6 #declare torus2 = torus { 8.410065, 0.500000 sturm }
7 #declare torus3 = torus { 7.590170, 0.500000 sturm }
8 #declare torus4 = torus { 6.571068, 0.500000 sturm }
9 #declare torus5 = torus { 5.377853, 0.500000 sturm }
10 #declare torus6 = torus { 4.039905, 0.500000 sturm }
11 #declare torus7 = torus { 2.590170, 0.500000 sturm }
12 #declare torus8 = torus { 1.064345, 0.500000 sturm }
[all …]
/dports/math/vtk6/VTK-6.2.0/Filters/General/Testing/Tcl/
H A DTestCurvatures.tcl14 vtkSuperquadricSource torus
15 torus SetCenter 0.0 0.0 0.0
16 torus SetScale 1.0 1.0 1.0
17 torus SetPhiResolution 64
18 torus SetThetaResolution 64
19 torus SetPhiRoundness 1.0
20 torus SetThetaRoundness 1.0
21 torus SetThickness 0.5
22 torus SetSize 0.5
23 torus SetToroidal 1
[all …]
/dports/math/vtk8/VTK-8.2.0/Filters/General/Testing/Python/
H A DTestCurvatures.py15 torus = vtk.vtkSuperquadricSource() variable
16 torus.SetCenter(0.0,0.0,0.0)
17 torus.SetScale(1.0,1.0,1.0)
18 torus.SetPhiResolution(64)
19 torus.SetThetaResolution(64)
20 torus.SetPhiRoundness(1.0)
21 torus.SetThetaRoundness(1.0)
22 torus.SetThickness(0.5)
23 torus.SetSize(0.5)
24 torus.SetToroidal(1)
[all …]
/dports/math/vtk9/VTK-9.1.0/Filters/General/Testing/Python/
H A DTestCurvatures.py15 torus = vtk.vtkSuperquadricSource() variable
16 torus.SetCenter(0.0,0.0,0.0)
17 torus.SetScale(1.0,1.0,1.0)
18 torus.SetPhiResolution(64)
19 torus.SetThetaResolution(64)
20 torus.SetPhiRoundness(1.0)
21 torus.SetThetaRoundness(1.0)
22 torus.SetThickness(0.5)
23 torus.SetSize(0.5)
24 torus.SetToroidal(1)
[all …]
/dports/math/vtk6/VTK-6.2.0/Filters/General/Testing/Python/
H A DTestCurvatures.py16 torus = vtk.vtkSuperquadricSource() variable
17 torus.SetCenter(0.0,0.0,0.0)
18 torus.SetScale(1.0,1.0,1.0)
19 torus.SetPhiResolution(64)
20 torus.SetThetaResolution(64)
21 torus.SetPhiRoundness(1.0)
22 torus.SetThetaRoundness(1.0)
23 torus.SetThickness(0.5)
24 torus.SetSize(0.5)
25 torus.SetToroidal(1)
[all …]
/dports/graphics/nurbs++/nurbs++-3.0.11/examples/nurbs/
H A DtnurbsSub.cpp23 NurbsSurface<T,N> *torus = new NurbsSurface<T,N> ; in generateTorus() local
25 torus->resize(9,9,2,2) ; in generateTorus()
36 torus->modCP(i,j,hp) ; in generateTorus()
43 torus->modKnotU(knots) ; in generateTorus()
44 torus->modKnotV(knots) ; in generateTorus()
46 return torus; in generateTorus()
56 NurbsSurface<float,3> *torus; in main() local
60 torus = generateTorus<float,3>( 1.3, 0.3 ); in main()
62 NurbsSubSurface<float> surf(*torus) ; in main()
/dports/games/warmux/warmux-11.04/src/gui/
H A Dspin_button_picture.cpp47 torus = new TorusCache(res, resource_id, BIG_R, SMALL_R); in SpinButtonWithPicture()
63 delete torus; in ~SpinButtonWithPicture()
78 torus->Draw(*this); in Draw()
84 Point2i center = GetPosition() + torus->GetCenter(); in Draw()
88 torus->m_minus->SetCurrentFrame(1); in Draw()
90 torus->m_minus->SetCurrentFrame(0); in Draw()
92 torus->m_minus->Blit(surf, GetPosition().x + IMG_BUTTONS_W, GetPosition().y + IMG_BUTTONS_H); in Draw()
97 torus->m_plus->SetCurrentFrame(1); in Draw()
99 torus->m_plus->SetCurrentFrame(0); in Draw()
101torus->m_plus->Blit(surf, GetPosition().x + GetSize().x - torus->m_plus->GetWidth() - IMG_BUTTONS_… in Draw()
[all …]
H A Dcombo_box.cpp49 torus = new TorusCache(res, resource_id, BIG_R, SMALL_R); in ComboBox()
76 delete torus; in ~ComboBox()
91 torus->Draw(*this); in Draw()
98 Point2i center = GetPosition() + torus->GetCenter(); in Draw()
102 torus->m_minus->SetCurrentFrame(1); in Draw()
104 torus->m_minus->SetCurrentFrame(0); in Draw()
106 torus->m_minus->Blit(window, GetPositionX() + IMG_BUTTONS_W, GetPositionY() + IMG_BUTTONS_H); in Draw()
111 torus->m_plus->SetCurrentFrame(1); in Draw()
113 torus->m_plus->SetCurrentFrame(0); in Draw()
115torus->m_plus->Blit(window, GetPositionX() + GetSizeX() - torus->m_plus->GetWidth() - IMG_BUTTONS_… in Draw()
[all …]
/dports/math/octave-forge-matgeom/matgeom-1.2.3/inst/geom3d/
H A DdrawTorus.m29 %DRAWTORUS Draw a torus (3D ring).
41 % torus:
47 % % draw sample torus
73 center = torus(1:3);
74 r1 = torus(4);
75 r2 = torus(5);
78 if size(torus, 2) >= 7
79 normal = torus(6:7);
102 %% Draw the torus
104 % create base torus
[all …]
/dports/math/sisl/SISL-SISL-4.6.0-44-g9114631/doc/manual/func/
H A Ds1024.tex1 \subsection{Express the octants of a torus as a surface.}
4 To express the octants of a torus as a surface. This can also be used
5 to describe the complete torus.
6 The torus/the octants of the torus will be geometrically exact.
11 {\fov numb\_major}, {\fov torus}, {\fov stat})
20 \>\> SISLSurf \> **{\fov torus};\\
25 \>\> {\fov centre} \> - \> Centre point of the torus.\\
26 \>\> {\fov axis} \> - \> Normal to the torus plane.\\
55 \>\> {\fov torus} \> - \> Pointer to the torus produced.\\
70 \>\> SISLSurf \> *{\fov torus} = NULL;\\
[all …]
/dports/math/octave-forge-matgeom/matgeom-1.2.3/inst/meshes3d/
H A DtorusMesh.m36 % torus normal vector (both in degrees).
66 %% Extract data for torus
69 torus = [0 0 0 30 10 0 0 0]; variable
72 center = torus(1:3);
73 r1 = torus(4);
74 r2 = torus(5);
76 if size(torus, 2) >= 7
77 normal = torus(6:7);
101 %% Discretize torus
103 % create base torus
[all …]
/dports/graphics/blender/blender-2.91.0/release/scripts/addons/render_povray/templates_pov/
H A Dabyss.pov482 torus{4.5,0.5}
506 torus{1.5,0.3 rotate z*90 translate -x}
514 torus{1.9,0.1 rotate z*90 translate x*16.5}
516 torus{1.9,0.1 rotate z*90 translate x*17.5}
519 torus{0.5,0.1}
527 torus{0.5,0.2 rotate z*90 translate x*2}
537 torus{0.5,0.2 rotate z*90 translate x*5}
546 torus{0.5,0.1}
579 torus{1,0.2 rotate z*90 translate x*3}
685 torus{1,0.2 rotate x*90 translate y*3}
[all …]
H A Dbiscuit.pov117 torus {
130 torus {3.96, 0.04 translate y*0.4}
131 torus {3.79, 0.04 translate y*0.4}
299 torus {14, 0.1 translate y*5}
300 torus {14, 0.1 translate y*0.1}
301 torus {14, 0.1 scale <1,2,1> translate y*4}
329 torus {2.8, 1 translate y*2.5}
330 torus {4, 1 translate y*0}
344 torus {4.0, 0.2 translate y*6.0}
345 torus {4.0, 0.2 translate y*1.2}
[all …]
/dports/graphics/povray38/povunix-v3.8.0-beta.2-src/scenes/advanced/
H A Dabyss.pov482 torus{4.5,0.5}
506 torus{1.5,0.3 rotate z*90 translate -x}
514 torus{1.9,0.1 rotate z*90 translate x*16.5}
516 torus{1.9,0.1 rotate z*90 translate x*17.5}
519 torus{0.5,0.1}
527 torus{0.5,0.2 rotate z*90 translate x*2}
537 torus{0.5,0.2 rotate z*90 translate x*5}
546 torus{0.5,0.1}
579 torus{1,0.2 rotate z*90 translate x*3}
685 torus{1,0.2 rotate x*90 translate y*3}
[all …]
H A Dbiscuit.pov118 torus {
131 torus {3.96, 0.04 translate y*0.4}
132 torus {3.79, 0.04 translate y*0.4}
300 torus {14, 0.1 translate y*5}
301 torus {14, 0.1 translate y*0.1}
302 torus {14, 0.1 scale <1,2,1> translate y*4}
330 torus {2.8, 1 translate y*2.5}
331 torus {4, 1 translate y*0}
345 torus {4.0, 0.2 translate y*6.0}
346 torus {4.0, 0.2 translate y*1.2}
[all …]
/dports/graphics/povray37/povray-3.7.0.10/distribution/scenes/advanced/
H A Dabyss.pov482 torus{4.5,0.5}
506 torus{1.5,0.3 rotate z*90 translate -x}
514 torus{1.9,0.1 rotate z*90 translate x*16.5}
516 torus{1.9,0.1 rotate z*90 translate x*17.5}
519 torus{0.5,0.1}
527 torus{0.5,0.2 rotate z*90 translate x*2}
537 torus{0.5,0.2 rotate z*90 translate x*5}
546 torus{0.5,0.1}
579 torus{1,0.2 rotate z*90 translate x*3}
685 torus{1,0.2 rotate x*90 translate y*3}
[all …]
H A Dbiscuit.pov118 torus {
131 torus {3.96, 0.04 translate y*0.4}
132 torus {3.79, 0.04 translate y*0.4}
300 torus {14, 0.1 translate y*5}
301 torus {14, 0.1 translate y*0.1}
302 torus {14, 0.1 scale <1,2,1> translate y*4}
330 torus {2.8, 1 translate y*2.5}
331 torus {4, 1 translate y*0}
345 torus {4.0, 0.2 translate y*6.0}
346 torus {4.0, 0.2 translate y*1.2}
[all …]
/dports/graphics/povray36/povray-3.6.1/scenes/advanced/
H A Dabyss.pov473 torus{4.5,0.5}
497 torus{1.5,0.3 rotate z*90 translate -x}
505 torus{1.9,0.1 rotate z*90 translate x*16.5}
507 torus{1.9,0.1 rotate z*90 translate x*17.5}
510 torus{0.5,0.1}
518 torus{0.5,0.2 rotate z*90 translate x*2}
528 torus{0.5,0.2 rotate z*90 translate x*5}
537 torus{0.5,0.1}
570 torus{1,0.2 rotate z*90 translate x*3}
676 torus{1,0.2 rotate x*90 translate y*3}
[all …]
H A Dbiscuit.pov106 torus {
119 torus {3.96, 0.04 translate y*0.4}
120 torus {3.79, 0.04 translate y*0.4}
288 torus {14, 0.1 translate y*5}
289 torus {14, 0.1 translate y*0.1}
290 torus {14, 0.1 scale <1,2,1> translate y*4}
318 torus {2.8, 1 translate y*2.5}
319 torus {4, 1 translate y*0}
333 torus {4.0, 0.2 translate y*6.0}
334 torus {4.0, 0.2 translate y*1.2}
[all …]
/dports/math/scilab/scilab-6.1.1/scilab/modules/graphics/demos/surface/
H A Dtorus.sce9 // torus : a torus with a thick and a thin side.
12 function torus
16 // some torus type bodies.
19 // a torus with a thick and a thin side.
29 demo_viewCode("torus.sce");
41 torus();
42 clear torus;
/dports/graphics/quesa/quesa-1.8/Source/Core/Geometry/
H A DE3GeometryTorus.c645 E3Torus* torus = (E3Torus*) theTorus ;
653 Q3Shared_Edited ( torus ) ;
668 E3Torus* torus = (E3Torus*) theTorus ;
687 E3Torus* torus = (E3Torus*) theTorus ;
691 Q3Shared_Edited ( torus ) ;
706 E3Torus* torus = (E3Torus*) theTorus ;
710 Q3Shared_Edited ( torus ) ;
729 Q3Shared_Edited ( torus ) ;
748 Q3Shared_Edited ( torus ) ;
819 torus->instanceData.ratio = ratio ;
[all …]
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/voro++/examples/walls/
H A DMakefile11 EXECUTABLES=cylinder tetrahedron frustum torus
25 torus: torus.cc target
26 $(CXX) $(CFLAGS) $(E_INC) $(E_LIB) -o torus torus.cc -lvoro++
/dports/cad/gds3d/GDS3D-bcdb97a/libgdsto3d/voro++/examples/walls/
H A DMakefile11 EXECUTABLES=cylinder tetrahedron frustum torus
25 torus: torus.cc target
26 $(CXX) $(CFLAGS) $(E_INC) $(E_LIB) -o torus torus.cc -lvoro++

12345678910>>...48