Salome HOME
Merging with WPdev
[modules/smesh.git] / doc / salome / gui / SMESH / projection_algorithms.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>Projection Algorithms</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"><style type="text/css">\r
9 <!--\r
10 p.whs1 { margin-top:0pt; margin-bottom:0pt; }\r
11 img_whs2 { border:none; width:30px; height:29px; border-style:none; }\r
12 p.whs3 { margin-left:40px; }\r
13 img_whs4 { border:none; width:270px; height:285px; float:none; border-style:none; }\r
14 img_whs5 { border:none; width:30px; height:29px; border-style:none; }\r
15 img_whs6 { border:none; width:280px; height:351px; float:none; }\r
16 p.whs7 { margin-left:0px; }\r
17 -->\r
18 </style><script type="text/javascript" language="JavaScript">\r
19 <!--\r
20 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
21 {\r
22   var strNSS = "<style type='text/css'>";\r
23   strNSS += "p.whs1 {margin-top:1pt;margin-bottom:1pt; }";\r
24   strNSS += "p.whs7 {margin-left:1pt; }";\r
25   strNSS +="</style>";\r
26   document.write(strNSS);\r
27 }\r
28 //-->\r
29 </script>\r
30 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
31 <!--\r
32 function reDo() {\r
33   if (innerWidth != origWidth || innerHeight != origHeight)\r
34      location.reload();\r
35 }\r
36 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
37         origWidth = innerWidth;\r
38         origHeight = innerHeight;\r
39         onresize = reDo;\r
40 }\r
41 onerror = null; \r
42 //-->\r
43 </script>\r
44 <style type="text/css">\r
45 <!--\r
46 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
47 p.WebHelpNavBar { text-align:right; }\r
48 -->\r
49 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
50 <script type="text/javascript" language="javascript" src="whver.js"></script>\r
51 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
52 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
53 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
54 <script type="text/javascript" language="javascript1.2">\r
55 <!--\r
56 if (window.gbWhTopic)\r
57 {\r
58         if (window.setRelStartPage)\r
59         {\r
60         addTocInfo("MESH module\nCreating meshes\nDefining Algorithms\nProjection Algorithms");\r
61 addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");\r
62 addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");\r
63 \r
64         }\r
65 \r
66 \r
67         if (window.setRelStartPage)\r
68         {\r
69         setRelStartPage("index.htm");\r
70 \r
71                 autoSync(1);\r
72                 sendSyncInfo();\r
73                 sendAveInfoOut();\r
74         }\r
75 \r
76 }\r
77 else\r
78         if (window.gbIE4)\r
79                 document.location.reload();\r
80 //-->\r
81 </script>\r
82 </head>\r
83 <body><script type="text/javascript" language="javascript1.2">\r
84 <!--\r
85 if (window.writeIntopicBar)\r
86         writeIntopicBar(4);\r
87 //-->\r
88 </script>\r
89 <h1>Projection Algorithms</h1>\r
90 \r
91 <p class="whs1">Projection algorithms allow \r
92  to define the mesh of a geometrical object by the projection of another \r
93  already meshed geometrical object. </p>\r
94 \r
95 <p class="whs1">&nbsp;</p>\r
96 \r
97 <p class="whs1"><span style="font-weight: bold;"><B>Projection \r
98  1D</B></span> algorithm permits to define the mesh of an edge by the projection \r
99  of another already meshed edge.</p>\r
100 \r
101 <p class="whs1">To apply this algorithm \r
102  select the edge to be meshed (indicated in the field <span style="font-weight: bold;"><B>Geometry</B></span> \r
103  of<span style="font-weight: bold;"><B> Create mesh</B></span> dialog box), <span \r
104  style="font-weight: bold;"><B>Projection 1D</B></span> in the list of 1D algorithms \r
105  and click the <img src="image122.gif" width="30px" height="29px" border="0" class="img_whs2"> button. The following dialog box will appear: \r
106  </p>\r
107 \r
108 <p class="whs3"><img src="pics/projection_1d.png" x-maintain-ratio="TRUE" width="270px" height="285px" border="0" class="img_whs4"></p>\r
109 \r
110 <p>In this menu you can define the <span style="font-weight: bold;"><B>Name</B></span> \r
111  of the algorithm, the algeady meshed source <span style="font-weight: bold;"><B>Edge</B></span> \r
112  and the <span style="font-weight: bold;"><B>Mesh</B></span> (optional, use it \r
113  if there are several different meshes on the same edge). It could also \r
114  be necessary to define the orientation of edges, which is done by indicating \r
115  the <span style="font-weight: bold;"><B>Source Vertex</B></span> being the first \r
116  point of the Source Edge and the <span style="font-weight: bold;"><B>Target \r
117  Vertex </B></span>being the first point of the created <span style="font-weight: bold;"><B>Edge.</B></span></p>\r
118 \r
119 <p><span style="font-weight: bold;"><B>Projection 2D</B></span> algorithm<span \r
120  style="font-weight: bold;"> <B></B></span>permits to define the mesh of a face \r
121  by the projection of another already meshed face. This algorithm works \r
122  only if all edges of the<span style="font-weight: bold;"> <B></B></span>target \r
123  face have been meshed as 1D Projections of the edges of the source face.</p>\r
124 \r
125 <p>To apply this algorithm select the face to be meshed (indicated in the \r
126  field <span style="font-weight: bold;"><B>Geometry</B></span> of<span style="font-weight: bold;"><B> \r
127  Create mesh</B></span> dialog box), <span style="font-weight: bold;"><B>Projection \r
128  2D</B></span> in the list of 2D algorithms and click the <img src="image122.gif" width="30px" height="29px" border="0" class="img_whs5"> button. \r
129  The following dialog box will appear: </p>\r
130 \r
131 <p class="whs3"><img src="pics/projection_2d.png" x-maintain-ratio="TRUE" width="280px" height="351px" border="0" class="img_whs6"></p>\r
132 \r
133 <p>In this menu you can define the <span style="font-weight: bold;"><B>Name</B></span> \r
134  of the algorithm, the algeady meshed source <span style="font-weight: bold;"><B>Face</B></span> \r
135  and the <span style="font-weight: bold;"><B>Mesh</B></span> (optional, use it \r
136  if there are several different meshes on the same face). It could also \r
137  be necessary to define the orientation of mesh on the face, which is done \r
138  by indicating two <span style="font-weight: bold;"><B>Source Vertices, </B></span>which \r
139  belong to the same edge of the<span style="font-weight: bold;"> <B></B></span>source \r
140  face, and two<span style="font-weight: bold;"><B> Target Vertices,</B></span> \r
141  which belong to the same edge of the created<span style="font-weight: bold;"><B> \r
142  Face. </B></span></p>\r
143 \r
144 <p><span style="font-weight: bold;"><B>Projection 3D</B></span> algorithm permits \r
145  to define the mesh of a shape by the projection of another already meshed \r
146  shape. &nbsp;This \r
147  algorithm works only if all faces and edges of the<span style="font-weight: bold;"> \r
148  <B></B></span>target face have been meshed as 1D Projections of the faces and \r
149  edges of the source face. Another limitation is that this algorithm currently \r
150  works only on boxes. </p>\r
151 \r
152 <p>To apply this algorithm select the solid to be meshed (indicated in \r
153  the field <span style="font-weight: bold;"><B>Geometry</B></span> of<span style="font-weight: bold;"><B> \r
154  Create mesh</B></span> dialog box), <span style="font-weight: bold;"><B>Projection \r
155  3D</B></span> in the list of 3D algorithms and click the <img src="image122.gif" width="30px" height="29px" border="0" class="img_whs5"> button. \r
156  The following dialog box will appear: </p>\r
157 \r
158 <p class="whs3"><img src="pics/projection_3d.png" x-maintain-ratio="TRUE" width="280px" height="351px" border="0" class="img_whs6"></p>\r
159 \r
160 <p class="whs7">In this menu you can define the <span style="font-weight: bold;"><B>Name</B></span> \r
161  of the algorithm, the algeady meshed source <span style="font-weight: bold;"><B>3D \r
162  shape</B></span> and the <span style="font-weight: bold;"><B>Mesh</B></span> (optional, \r
163  use it if there are several different meshes on the same shape). It could \r
164  also be necessary to define the orientation of mesh on the shape, which \r
165  is done by indicating two <span style="font-weight: bold;"><B>Source Vertices,</B></span> \r
166  which belong to the same edge of the<span style="font-weight: bold;"> \r
167  <B></B></span>source <span style="font-weight: bold;"><B>3D Shape,</B></span> and two<span \r
168  style="font-weight: bold;"><B> Target Vertices,</B></span> which belong to the \r
169  same edge of the<span style="font-weight: bold;"> <B></B></span>source <span \r
170  style="font-weight: bold;"><B>3D Shape. </B></span></p>\r
171 \r
172 <script type="text/javascript" language="javascript1.2">\r
173 <!--\r
174 if (window.writeIntopicBar)\r
175         writeIntopicBar(0);\r
176 //-->\r
177 </script>\r
178 </body>\r
179 </html>\r