Salome HOME
Fix problem with table of contents resizing
[modules/geom.git] / doc / salome / gui / GEOM / sphere.htm
1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
2 \r
3 <html>\r
4 \r
5 <head>\r
6 <title>Sphere</title>\r
7 <meta http-equiv="content-type" content="text/html; charset=windows-1252">\r
8 <meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
9 <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
10 <!--\r
11 if (navigator.appName !="Netscape")\r
12 {   document.write("<link rel='stylesheet' href='default.css'>");}\r
13 //-->\r
14 </script>\r
15 <style type="text/css">\r
16 <!--\r
17 img_whs1 { width:20px; height:20px; border-style:none; }\r
18 p.whs2 { font-size:12pt; }\r
19 p.whs3 { margin-left:40px; }\r
20 img_whs4 { border:none; width:312px; height:315px; float:none; border-style:none; }\r
21 p.whs5 { font-size:12pt; font-weight:bold; }\r
22 img_whs6 { border:none; width:286px; height:284px; float:none; border-style:none; }\r
23 p.whs7 { margin-left:40px; font-weight:bold; }\r
24 -->\r
25 </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
26 <!--\r
27 function reDo() {\r
28   if (innerWidth != origWidth || innerHeight != origHeight)\r
29      location.reload();\r
30 }\r
31 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
32         origWidth = innerWidth;\r
33         origHeight = innerHeight;\r
34         onresize = reDo;\r
35 }\r
36 onerror = null; \r
37 //-->\r
38 </script>\r
39 <style type="text/css">\r
40 <!--\r
41 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
42 p.WebHelpNavBar { text-align:right; }\r
43 -->\r
44 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
45 <script type="text/javascript" language="javascript" src="whver.js"></script>\r
46 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
47 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
48 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
49 <script type="text/javascript" language="javascript1.2">\r
50 <!--\r
51 if (window.gbWhTopic)\r
52 {\r
53         if (window.setRelStartPage)\r
54         {\r
55         addTocInfo("Geometry module\nCreating geometrical objects\nCreating Primitives\nSphere");\r
56 addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");\r
57 addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");\r
58 \r
59         }\r
60 \r
61 \r
62         if (window.setRelStartPage)\r
63         {\r
64         setRelStartPage("index.htm");\r
65 \r
66                 autoSync(1);\r
67                 sendSyncInfo();\r
68                 sendAveInfoOut();\r
69         }\r
70 \r
71 }\r
72 else\r
73         if (window.gbIE4)\r
74                 document.location.reload();\r
75 //-->\r
76 </script>\r
77 </head>\r
78 <body><script type="text/javascript" language="javascript1.2">\r
79 <!--\r
80 if (window.writeIntopicBar)\r
81         writeIntopicBar(4);\r
82 //-->\r
83 </script>\r
84 <h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image101.gif" width="20px" height="20px" border="0" class="img_whs1"> &nbsp;</font></span>Sphere</h1>\r
85 \r
86 <p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Sphere</B></span> \r
87  in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span \r
88  style="font-weight: bold;"><B>New Entity - &gt; Primitives - &gt; Sphere</B></span></p>\r
89 \r
90 <p>&nbsp;</p>\r
91 \r
92 <p>There are two algorithms for creation of a <span style="font-weight: bold;"><B>Sphere</B></span>. \r
93  </p>\r
94 \r
95 <p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
96  Result <span style="font-weight: normal;">of each operation will be a</span></b> \r
97  GEOM_Object (SOLID).</p>\r
98 \r
99 <p>&nbsp;</p>\r
100 \r
101 <p class="whs2">Firstly, you can define a <span style="font-weight: bold;"><B>Sphere</B></span> \r
102  by the <span style="font-weight: bold;"><B>Center Point</B></span> and the <span \r
103  style="font-weight: bold;"><B>Radius</B></span>.</p>\r
104 \r
105 <p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeSphere(Point, \r
106  Radius)</I></span></p>\r
107 \r
108 <p><b style="font-weight: bold;">Arguments:</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name \r
109  + </font></span>1 vertex + 1 value (Radius).</p>\r
110 \r
111 <p class="whs3"><b style="font-weight: bold;"><img src="pics/sphere1.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs4"></b></p>\r
112 \r
113 <p>&nbsp;</p>\r
114 \r
115 <p><b style="font-weight: bold;"><span style="font-weight: normal;">Secondly, \r
116  you can define a</span> Sphere <span style="font-weight: normal;">with \r
117  the center at the origin of coordinate system by the</span> Radius.</b></p>\r
118 \r
119 <p><b style="font-weight: bold;">TUI Command: <span style="font-weight: normal; font-style: italic;"><I>geompy. \r
120  MakeSphereR(Radius)</I></span></b></p>\r
121 \r
122 <p><b style="font-weight: bold;">Arguments:</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name \r
123  + </font></span>1 &nbsp;value \r
124  (Radius from the origin).</p>\r
125 \r
126 <p class="whs3"><img src="pics/sphere2.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs4"></p>\r
127 \r
128 <p class="whs5">&nbsp;</p>\r
129 \r
130 <p class="whs5">NB! <span style="font-weight: normal;">The \r
131  is another way to create a </span>Sphere<span style="font-weight: normal;">, \r
132  which is currently accessible only via</span> TUI <span style="font-weight: normal;">commands.</span></p>\r
133 \r
134 <p class="whs5"><span style="font-weight: normal;">You \r
135  can define the</span> Sphere <span style="font-weight: normal;">by the \r
136  coordinates of the</span> Center Point <span style="font-weight: normal;">and \r
137  its</span> Radius <span style="font-weight: normal;">(in this way you \r
138  don't need to create it in advance).</span> </p>\r
139 \r
140 <p class="whs5"><b style="font-weight: bold;">TUI \r
141  Command:</b> <span style="font-weight: normal; font-style: italic;"><I>geompy.MakeSphere(X, \r
142  Y, Z, Radius)</I></span></p>\r
143 \r
144 <p>&nbsp;</p>\r
145 \r
146 <p><b style="font-weight: bold;">Example:</b></p>\r
147 \r
148 <p>&nbsp;</p>\r
149 \r
150 <p class="whs3"><img src="pics/spheres.png" x-maintain-ratio="TRUE" width="286px" height="284px" border="0" class="img_whs6"></p>\r
151 \r
152 <p class="whs7">&nbsp;</p>\r
153 \r
154 <p class="whs2">Our TUI Scripts provide you with useful examples \r
155  of creation of <a href="primitives.htm#bookmark2">Primitives</a>. </p>\r
156 \r
157 <p>&nbsp;</p>\r
158 \r
159 <script type="text/javascript" language="javascript1.2">\r
160 <!--\r
161 if (window.writeIntopicBar)\r
162         writeIntopicBar(0);\r
163 //-->\r
164 </script>\r
165 </body>\r
166 </html>\r