Salome HOME
Join modifications from branch BR_DEBUG_3_2_0b1
[modules/smesh.git] / doc / salome / gui / SMESH / files / warp.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>Warp</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; float:none; width:30px; height:30px; border-style:none; }\r
18 p.whs2 { margin-left:40px; }\r
19 p.whs3 { margin-left:0px; }\r
20 img_whs4 { border:none; width:496px; height:336px; border-style:none; }\r
21 img_whs5 { border:none; width:23px; height:23px; border-style:none; }\r
22 img_whs6 { border:none; width:405px; height:308px; border-style:none; }\r
23 -->\r
24 </style><script type="text/javascript" language="JavaScript">\r
25 <!--\r
26 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
27 {\r
28   var strNSS = "<style type='text/css'>";\r
29   strNSS += "p.whs3 {margin-left:1pt; }";\r
30   strNSS +="</style>";\r
31   document.write(strNSS);\r
32 }\r
33 //-->\r
34 </script>\r
35 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
36 <!--\r
37 function reDo() {\r
38   if (innerWidth != origWidth || innerHeight != origHeight)\r
39      location.reload();\r
40 }\r
41 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
42         origWidth = innerWidth;\r
43         origHeight = innerHeight;\r
44         onresize = reDo;\r
45 }\r
46 onerror = null; \r
47 //-->\r
48 </script>\r
49 <style type="text/css">\r
50 <!--\r
51 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
52 p.WebHelpNavBar { text-align:right; }\r
53 -->\r
54 </style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
55 <script type="text/javascript" language="javascript" src="../whver.js"></script>\r
56 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
57 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
58 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
59 <script type="text/javascript" language="javascript1.2">\r
60 <!--\r
61 if (window.gbWhTopic)\r
62 {\r
63         if (window.setRelStartPage)\r
64         {\r
65         addTocInfo("MESH module\nQuality controls\nWarping");\r
66 addButton("show",BTN_IMG,"Show","","","","",0,0,"../whd_show0.gif","../whd_show2.gif","../whd_show1.gif");\r
67 addButton("hide",BTN_IMG,"Hide","","","","",0,0,"../whd_hide0.gif","../whd_hide2.gif","../whd_hide1.gif");\r
68 \r
69         }\r
70 \r
71 \r
72         if (window.setRelStartPage)\r
73         {\r
74         setRelStartPage("../index.htm");\r
75 \r
76                 autoSync(1);\r
77                 sendSyncInfo();\r
78                 sendAveInfoOut();\r
79         }\r
80 \r
81 }\r
82 else\r
83         if (window.gbIE4)\r
84                 document.location.reload();\r
85 //-->\r
86 </script>\r
87 </head>\r
88 <body><script type="text/javascript" language="javascript1.2">\r
89 <!--\r
90 if (window.writeIntopicBar)\r
91         writeIntopicBar(4);\r
92 //-->\r
93 </script>\r
94 <h1>Warping</h1>\r
95 \r
96 <p><img src="../i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs1"> <span style="font-weight: bold;"><B>Warping</B></span> indicates \r
97  that a face is not planar and is applied only to 2D elements with 4 nodes. \r
98  This quality control criterion is based on a projection plane created \r
99  by:</p>\r
100 \r
101 <p class="whs2">1. bisecting the four element edges, </p>\r
102 \r
103 <p class="whs2">2. creating a point on the plane at the vector \r
104  average of the corners, where the x-axis extends from the point to the \r
105  bisector on edge 2. </p>\r
106 \r
107 <p class="whs3">The plane normal is in the direction of the \r
108  cross product of the x-axis and the vector from the origin to the bisector \r
109  of edge 3. Every corner of the quad will then be a distance \93h\94 from the \r
110  plane. The length of each half edge is measured and the shortest length \r
111  is assigned \93l\94. The warp angle is the arcsine of the ratio of the projection \r
112  height \93h\94 to the half edge length \93l\94. </p>\r
113 \r
114 <p>&nbsp;</p>\r
115 \r
116 <p class="whs2"><img src="../image24.gif" width="496px" height="336px" border="0" class="img_whs4"></p>\r
117 \r
118 <p class="whs2">&nbsp;</p>\r
119 \r
120 <p class=TODO>&nbsp;</p>\r
121 \r
122 <p class=TODO>To apply the Warping quality criterion to your mesh:</p>\r
123 \r
124 <p class=TODO>&nbsp;</p>\r
125 \r
126 <p class="whs2">1. Display your mesh in the viewer.</p>\r
127 \r
128 <p class="whs2">&nbsp;</p>\r
129 \r
130 <p class="whs2">2. Choose <span style="font-weight: bold;"><B>Controls \r
131  &gt; Warp </B></span>or click <img src="../image39.gif" width="23px" height="23px" border="0" class="img_whs5"> button of the toolbar. Your mesh \r
132  will be displayed in the viewer with its elements colored according to \r
133  the applied mesh quality control criterion:</p>\r
134 \r
135 <p class="whs2">&nbsp;</p>\r
136 \r
137 <p class="whs2"><img src="../image97.jpg" width="405px" height="308px" border="0" class="img_whs6"></p>\r
138 \r
139 <p class="whs2">&nbsp;</p>\r
140 \r
141 <p class="whs3"><span style="font-weight: bold;"><B>See Also</B></span> \r
142  a sample TUI Script of a <a href="../quality_controls.htm#bookmark10">Warping \r
143  quality control</a> operation. &nbsp;</p>\r
144 \r
145 <p>&nbsp;</p>\r
146 \r
147 <p class="whs2">&nbsp;</p>\r
148 \r
149 <script type="text/javascript" language="javascript1.2">\r
150 <!--\r
151 if (window.writeIntopicBar)\r
152         writeIntopicBar(0);\r
153 //-->\r
154 </script>\r
155 </body>\r
156 </html>\r