Salome HOME
Join modifications from branch OCC_debug_for_3_2_0b1
[modules/smesh.git] / doc / salome / gui / SMESH / aspect_ratio_3d.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>Aspect ratio 3D</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 { border:none; width:416px; height:385px; border-style:none; }\r
18 img_whs2 { border:none; width:30px; height:30px; float:none; border-style:none; }\r
19 ul.whs3 { list-style:disc; }\r
20 img_whs4 { border:none; width:258px; height:246px; border-style:none; float:left; }\r
21 img_whs5 { border:none; width:133px; height:56px; border-style:none; }\r
22 img_whs6 { border:none; width:425px; height:192px; border-style:none; }\r
23 img_whs7 { border:none; width:89px; height:32px; border-style:none; }\r
24 img_whs8 { border:none; width:569px; height:386px; float:none; border-style:none; }\r
25 p.whs9 { margin-left:40px; }\r
26 img_whs10 { border:none; width:24px; height:26px; border-style:none; }\r
27 p.whs11 { margin-left:0px; }\r
28 -->\r
29 </style><script type="text/javascript" language="JavaScript">\r
30 <!--\r
31 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
32 {\r
33   var strNSS = "<style type='text/css'>";\r
34   strNSS += "p.whs11 {margin-left:1pt; }";\r
35   strNSS +="</style>";\r
36   document.write(strNSS);\r
37 }\r
38 //-->\r
39 </script>\r
40 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
41 <!--\r
42 function reDo() {\r
43   if (innerWidth != origWidth || innerHeight != origHeight)\r
44      location.reload();\r
45 }\r
46 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
47         origWidth = innerWidth;\r
48         origHeight = innerHeight;\r
49         onresize = reDo;\r
50 }\r
51 onerror = null; \r
52 //-->\r
53 </script>\r
54 <style type="text/css">\r
55 <!--\r
56 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
57 -->\r
58 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
59 <script type="text/javascript" language="javascript" src="whver.js"></script>\r
60 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
61 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
62 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
63 </head>\r
64 <body><script type="text/javascript" language="javascript1.2">\r
65 <!--\r
66 if (window.gbWhTopic)\r
67 {\r
68         if (window.addTocInfo)\r
69         {\r
70         addTocInfo("MESH module\nQuality controls\nAspect ratio 3D");\r
71 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
72 \r
73         }\r
74         if (window.writeBtnStyle)\r
75                 writeBtnStyle();\r
76 \r
77         if (window.writeIntopicBar)\r
78                 writeIntopicBar(1);\r
79 \r
80         if (window.setRelStartPage)\r
81         {\r
82         setRelStartPage("smesh.htm");\r
83 \r
84                 autoSync(1);\r
85                 sendSyncInfo();\r
86                 sendAveInfoOut();\r
87         }\r
88 }\r
89 else\r
90         if (window.gbIE4)\r
91                 document.location.reload();\r
92 //-->\r
93 </script>\r
94 <h1>Aspect ratio 3D</h1>\r
95 \r
96 <p><img src="image86.jpg" width="416px" height="385px" border="0" class="img_whs1"></p>\r
97 \r
98 <p>&nbsp;</p>\r
99 \r
100 <p><img src="i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs2"> The Aspect Ratio 3D mesh quality criterion calculates \r
101  the same parameter as the <a href="files/aspect_ratio.htm">Aspect ratio</a> \r
102  criterion, but it is applied to 3D mesh elements: tetrahedrons, pentahedrons, \r
103  hexahedrons, etc. &nbsp;</p>\r
104 \r
105 <p>&nbsp;</p>\r
106 \r
107 <ul type="disc" class="whs3">\r
108         \r
109         <li class=kadov-p><p><img src="image20.gif" width="258px" height="246px" align="left" border="0" class="img_whs4">The <span style="font-weight: bold;"><B>Aspect \r
110  Ratio</B></span> of a <span style="font-weight: bold;"><B>tetrahedron</B></span> \r
111  3D element is calculated by the formula:</p></li>\r
112 </ul>\r
113 \r
114 <p>&nbsp;</p>\r
115 \r
116 <p>&nbsp;</p>\r
117 \r
118 <p><img src="image19.gif" width="133px" height="56px" border="0" class="img_whs5">,</p>\r
119 \r
120 <p>&nbsp;</p>\r
121 \r
122 <p>where <span style="font-weight: bold; font-style: italic;"><I><B>S</B></I></span><span \r
123  style="font-weight: bold;\r
124                 font-style: italic;\r
125                 vertical-align: Sub;"><I><B>K</B></I></span> is the sum of surfaces of the faces \r
126  of &#1050; and <span style="font-weight: bold; font-style: italic;"><I><B>V</B></I></span><span \r
127  style="vertical-align: Sub;\r
128                 font-weight: bold;\r
129                 font-style: italic;"><I><B>K</B></I></span> is the volume of &#1050; :</p>\r
130 \r
131 <p>&nbsp;</p>\r
132 \r
133 <p><img src="image18.gif" width="425px" height="192px" border="0" class="img_whs6">T</p>\r
134 \r
135 <p>&nbsp;</p>\r
136 \r
137 <ul type="disc" class="whs3">\r
138         \r
139         <li class=kadov-p><p>Other element types like quadrangle, pentahedron \r
140  and hexahedron use the following formula:</p></li>\r
141 </ul>\r
142 \r
143 <p><img src="image30.gif" width="89px" height="32px" border="0" class="img_whs7"> , where <span style="font-weight: bold; font-style: italic;"><I><B>Q</B></I></span><span \r
144  style="vertical-align: Sub;\r
145                 font-weight: bold;\r
146                 font-style: italic;"><I><B>i</B></I></span> represents the value of <span style="font-weight: bold; font-style: italic;"><I><B>Q</B></I></span><span \r
147  style="vertical-align: Sub;\r
148                 font-weight: bold;\r
149                 font-style: italic;"><I><B>k</B></I></span> for all possible simplexes (of the \r
150  same dimension as the element) that compose the element.</p>\r
151 \r
152 <p>For example, a hexahedron is split in 6 tetrahedrons, the <span style="font-weight: bold;"><B>Aspect \r
153  ratio 3D</B></span> is calculated for each of them, then the greatest <span \r
154  style="font-weight: bold; font-style: italic;"><I><B>Q</B></I></span><span style="vertical-align: Sub;\r
155         font-weight: bold;\r
156         font-style: italic;"><I><B>k</B></I></span> is considered to be the &nbsp;<span \r
157  style="font-weight: bold;"><B>Aspect ratio 3D</B></span> \r
158  criterion for the whole &nbsp;hexahedron.</p>\r
159 \r
160 <p><img src="pics/image139.gif" x-maintain-ratio="TRUE" width="569px" height="386px" border="0" class="img_whs8"></p>\r
161 \r
162 <p>&nbsp;</p>\r
163 \r
164 <p class=TODO>To apply the Aspect Ratio 3D quality criterion to your mesh:</p>\r
165 \r
166 <p class=TODO>&nbsp;</p>\r
167 \r
168 <p class="whs9">1. Display your mesh in the viewer.</p>\r
169 \r
170 <p class="whs9">&nbsp;</p>\r
171 \r
172 <p class="whs9">2. Choose <span style="font-weight: bold;"><B>Controls \r
173  &gt; Aspect Ratio 3D </B></span>or click <img src="image144.gif" width="24px" height="26px" border="0" class="img_whs10"> button of the toolbar. \r
174  Your mesh will be displayed in the viewer with its elements colored according \r
175  to the applied mesh quality control criterion:</p>\r
176 \r
177 <p>&nbsp;</p>\r
178 \r
179 <p class="whs11"><span style="font-weight: bold;"><B>See Also</B></span> \r
180  a sample TUI Script of an <span style="font-weight: bold;"><B><a href="quality_controls.htm#bookmark11">Aspect \r
181  Ratio 3D</B></span> quality control</a> operation. &nbsp;</p>\r
182 \r
183 <p>&nbsp;</p>\r
184 \r
185 <p>&nbsp;</p>\r
186 \r
187 <p>&nbsp;</p>\r
188 \r
189 <p>&nbsp;</p>\r
190 \r
191 <script type="text/javascript" language="javascript1.2">\r
192 <!--\r
193 if (window.writeIntopicBar)\r
194         writeIntopicBar(0);\r
195 //-->\r
196 </script>\r
197 </body>\r
198 </html>\r