Salome HOME
*** empty log message ***
[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 -->\r
53 </style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
54 <script type="text/javascript" language="javascript" src="../whver.js"></script>\r
55 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
56 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
57 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
58 </head>\r
59 <body><script type="text/javascript" language="javascript1.2">\r
60 <!--\r
61 if (window.gbWhTopic)\r
62 {\r
63         if (window.addTocInfo)\r
64         {\r
65         addTocInfo("MESH module\nQuality controls\nWarping");\r
66 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
67 \r
68         }\r
69         if (window.writeBtnStyle)\r
70                 writeBtnStyle();\r
71 \r
72         if (window.writeIntopicBar)\r
73                 writeIntopicBar(1);\r
74 \r
75         if (window.setRelStartPage)\r
76         {\r
77         setRelStartPage("../smesh.htm");\r
78 \r
79                 autoSync(1);\r
80                 sendSyncInfo();\r
81                 sendAveInfoOut();\r
82         }\r
83 }\r
84 else\r
85         if (window.gbIE4)\r
86                 document.location.reload();\r
87 //-->\r
88 </script>\r
89 <h1>Warping</h1>\r
90 \r
91 <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
92  that a face is not planar and is applied only to 2D elements with 4 nodes. \r
93  This quality control criterion is based on a projection plane created \r
94  by:</p>\r
95 \r
96 <p class="whs2">1. bisecting the four element edges, </p>\r
97 \r
98 <p class="whs2">2. creating a point on the plane at the vector \r
99  average of the corners, where the x-axis extends from the point to the \r
100  bisector on edge 2. </p>\r
101 \r
102 <p class="whs3">The plane normal is in the direction of the \r
103  cross product of the x-axis and the vector from the origin to the bisector \r
104  of edge 3. Every corner of the quad will then be a distance \93h\94 from the \r
105  plane. The length of each half edge is measured and the shortest length \r
106  is assigned \93l\94. The warp angle is the arcsine of the ratio of the projection \r
107  height \93h\94 to the half edge length \93l\94. </p>\r
108 \r
109 <p>&nbsp;</p>\r
110 \r
111 <p class="whs2"><img src="../image24.gif" width="496px" height="336px" border="0" class="img_whs4"></p>\r
112 \r
113 <p class="whs2">&nbsp;</p>\r
114 \r
115 <p class=TODO>&nbsp;</p>\r
116 \r
117 <p class=TODO>To apply the Warping quality criterion to your mesh:</p>\r
118 \r
119 <p class=TODO>&nbsp;</p>\r
120 \r
121 <p class="whs2">1. Display your mesh in the viewer.</p>\r
122 \r
123 <p class="whs2">&nbsp;</p>\r
124 \r
125 <p class="whs2">2. Choose <span style="font-weight: bold;"><B>Controls \r
126  &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
127  will be displayed in the viewer with its elements colored according to \r
128  the applied mesh quality control criterion:</p>\r
129 \r
130 <p class="whs2">&nbsp;</p>\r
131 \r
132 <p class="whs2"><img src="../image97.jpg" width="405px" height="308px" border="0" class="img_whs6"></p>\r
133 \r
134 <p class="whs2">&nbsp;</p>\r
135 \r
136 <p class="whs3"><span style="font-weight: bold;"><B>See Also</B></span> \r
137  a sample TUI Script of a <a href="../quality_controls.htm#bookmark10">Warping \r
138  quality control</a> operation. &nbsp;</p>\r
139 \r
140 <p>&nbsp;</p>\r
141 \r
142 <p class="whs2">&nbsp;</p>\r
143 \r
144 <script type="text/javascript" language="javascript1.2">\r
145 <!--\r
146 if (window.writeIntopicBar)\r
147         writeIntopicBar(0);\r
148 //-->\r
149 </script>\r
150 </body>\r
151 </html>\r