1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
\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
11 if (navigator.appName !="Netscape")
\r
12 { document.write("<link rel='stylesheet' href='default.css'>");}
\r
15 <style type="text/css">
\r
17 img_whs1 { width:20px; height:20px; border-style:none; }
\r
18 p.whs2 { font-size:12pt; }
\r
19 img_whs3 { border:none; width:312px; height:332px; float:none; border-style:none; }
\r
20 img_whs4 { border:none; width:312px; height:473px; float:none; border-style:none; }
\r
21 p.whs5 { font-size:12pt; margin-left:120px; }
\r
22 p.whs6 { font-size:12pt; margin-left:0px; }
\r
23 p.whs7 { font-size:12pt; font-style:italic; margin-left:0px; }
\r
24 img_whs8 { border:none; width:312px; height:421px; float:none; border-style:none; }
\r
25 p.whs9 { font-size:12pt; color:#000000; }
\r
26 p.whs10 { color:#808080; font-size:12pt; }
\r
27 img_whs11 { border:none; width:354px; height:326px; float:none; border-style:none; }
\r
28 p.whs12 { color:#808080; font-size:12pt; margin-left:40px; }
\r
30 </style><script type="text/javascript" language="JavaScript">
\r
32 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
\r
34 var strNSS = "<style type='text/css'>";
\r
35 strNSS += "p.whs6 {margin-left:1pt; }";
\r
36 strNSS += "p.whs7 {margin-left:1pt; }";
\r
37 strNSS +="</style>";
\r
38 document.write(strNSS);
\r
42 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
45 if (innerWidth != origWidth || innerHeight != origHeight)
\r
48 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
49 origWidth = innerWidth;
\r
50 origHeight = innerHeight;
\r
56 <style type="text/css">
\r
58 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
\r
60 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
\r
61 <script type="text/javascript" language="javascript" src="whver.js"></script>
\r
62 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
\r
63 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
\r
64 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
\r
66 <body><script type="text/javascript" language="javascript1.2">
\r
68 if (window.gbWhTopic)
\r
70 if (window.addTocInfo)
\r
72 addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nPoint");
\r
73 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
\r
76 if (window.writeBtnStyle)
\r
79 if (window.writeIntopicBar)
\r
82 if (window.setRelStartPage)
\r
84 setRelStartPage("geom.htm");
\r
93 document.location.reload();
\r
96 <h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image27.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span></b>Point</h1>
\r
98 <p>To create a <span style="font-weight: bold;"><B>Point</B></span> in the <span
\r
99 style="font-weight: bold;"><B>Main Menu</B></span> select <span style="font-weight: bold;"><B>New
\r
100 Entity - > Basic - > Point</B></span></p>
\r
104 <p>There are three algorithms to <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">create
\r
105 a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Point</B></font></span><span
\r
106 style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> in the 3D space.</font></span></p>
\r
108 <p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">Each
\r
109 time the</span> Result <span style="font-weight: normal;">of the operation
\r
110 will be a</span></b> GEOM_Object (vertex).</p>
\r
112 <p class="whs2"> </p>
\r
114 <p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">Firstly,
\r
115 we can define a point by setting its X, Y and Z </span><span style="font-weight: bold;"><B>C</B></span></b><b><span
\r
116 style="font-weight: bold;"><B>oordinates</B></span><span style="font-weight: normal;">.</span>
\r
119 <p class="whs2"><b style="font-weight: bold;">TUI Command :</b>
\r
120 <span style="font-style: italic;"><I>g</I></span>eompy.MakeVertex(X,
\r
123 <p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name
\r
124 <b><span style="font-weight: normal;">(Vertex_n by default) </span></b>+
\r
125 X, Y and Z coordinates of the point.</p>
\r
127 <p class="whs2"> </p>
\r
129 <p class="whs2"><img src="pics/point1.png" x-maintain-ratio="TRUE" width="312px" height="332px" border="0" class="img_whs3"></p>
\r
131 <p class="whs2"> </p>
\r
133 <p class="whs2">Secondly, we
\r
134 can define a point by a <span style="font-weight: bold;"><B>Reference</B></span>
\r
135 to another point and the shift of the coordinates of the new point regarding
\r
136 the coordinates of the old one. </p>
\r
138 <p class="whs2"><b style="font-weight: bold;">TUI Command :</b>
\r
139 <span style="font-style: italic;"><I>geompy.MakeVertexWithRef(Reference,
\r
140 X, Y, Z).</I></span></p>
\r
142 <p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name
\r
143 + 1 reference point + 3 coordinates defining the position of this point
\r
144 regarding the reference one.</p>
\r
146 <p class="whs2"> </p>
\r
148 <p class="whs2"><span style="font-style: italic;"><I><img src="pics/neo-point2.png" x-maintain-ratio="TRUE" width="312px" height="473px" border="0" class="img_whs4"></I></span></p>
\r
150 <p class="whs5"> </p>
\r
152 <p class="whs6">Finally, we can define a
\r
153 point by an <span style="font-weight: bold;"><B>Edge</B></span> and a <span style="font-weight: bold;"><B>Parameter</B></span>
\r
155 its position on the Edge. For example, 0.5 means that the point is located
\r
156 in the middle of the edge.<span style="font-style: italic;"> <I></I></span></p>
\r
158 <p class="whs7"><span style="font-style: italic;"><I><b style="font-weight: bold; font-style: normal;">TUI
\r
159 Command :</b> geompy.MakeVertexOnCurve(Edge,
\r
160 Parameter).</I></span></p>
\r
162 <p class="whs2"><b style="font-weight: bold;">Arguments: N</b>ame
\r
164 1 Parameter defining the position of the point on the given edge.</p>
\r
166 <p class="whs2"> </p>
\r
168 <p class="whs2"><span style="font-style: italic;"><I><b style="font-weight: bold;"><img src="pics/point3.png" x-maintain-ratio="TRUE" width="312px" height="421px" border="0" class="img_whs8"></b></I></span></p>
\r
170 <p class="whs2"> </p>
\r
172 <p class="whs9"><span style="font-style: italic;"><I><span
\r
173 style="font-size: 12pt; color: #000000;"><font size=3 color=black style="font-size:12.000000pt;"><b style="font-weight: bold;"><b
\r
174 style="font-weight: bold;">E</b>xample:</b></font></span></I></span></p>
\r
176 <p class="whs10"> </p>
\r
178 <p class="whs2"><span style="font-style: italic;"><I><b style="font-weight: bold;"><img src="pics/points.png" x-maintain-ratio="TRUE" width="354px" height="326px" border="0" class="img_whs11"></b></I></span></p>
\r
180 <p class="whs12"> </p>
\r
182 <p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
\r
183 provide you with useful examples of creation of <a href="basic_geometrical_objects.htm#bookmark" style="font-style: normal;">Basic
\r
184 Geometric Objects</a>. </p>
\r
186 <script type="text/javascript" language="javascript1.2">
\r
188 if (window.writeIntopicBar)
\r
189 writeIntopicBar(0);
\r