geom/doc/salome/gui/GEOM/vector.htm

152 lines
5.7 KiB
HTML
Raw Normal View History

2005-11-24 20:34:00 +05:00
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Vector</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; font-style:italic; }
p.whs4 { font-size:12pt; font-weight:bold; }
img_whs5 { border:none; width:312px; height:324px; float:none; border-style:none; }
img_whs6 { border:none; width:312px; height:358px; float:none; border-style:none; }
img_whs7 { border:none; width:298px; height:302px; float:none; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.addTocInfo)
{
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nVector");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
}
if (window.writeBtnStyle)
writeBtnStyle();
if (window.writeIntopicBar)
writeIntopicBar(1);
if (window.setRelStartPage)
{
setRelStartPage("geom.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
<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_image32.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span></b>Vector</h1>
<p><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: normal;">T</b></font></span>o
create a <span style="font-weight: bold;"><B>Vector</B></span> in the <span style="font-weight: bold;"><B>Main
Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - &gt;
Basic - &gt; Vector</B></span></p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">There
are 2 algorithms to create a</span> Circle <span style="font-weight: normal;">in
the 3D space.</span> </b></p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
Result <span style="font-weight: normal;">of each operation will be a</span></b>
GEOM_Object (edge).</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">Firstly,
you can define a</span> Vector <span style="font-weight: normal;">by its</span>
Start <span style="font-weight: normal;">and</span> End Points</b></p>
<p class="whs3"><b style="font-style: normal;"><span
style="font-weight: bold;"><B>TUI Command:</b><b> &nbsp;</B></span><span
style="font-weight: normal;">g</b>eompy.MakeVector(Point1,
Point2)</span></p>
<p class="whs4"><b style="font-weight: bold;">Arguments
: </b><span style="font-weight: normal;">Name + 2 vertices.</span></p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><img src="pics/vector1.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs5"></p>
<p class="whs2">&nbsp;</p>
<p class="whs2">Secondly, you can define a <span style="font-weight: bold;"><B>Vector</B></span>
starting in the <span style="font-weight: bold;"><B>Origin of coordinates</B></span>
by its <span style="font-weight: bold;"><B>End Point.</B></span> </p>
<p class="whs2"><b><span style="font-weight: bold;"><B>TUI Command:</b><b>
</B></span><span style="font-weight: bold; font-style: italic;"><I><B>&nbsp;</B></I></span></b><span
style="font-style: italic;"><I>geompy.MakeVectorDXDYDZ(DX,
DY, DZ)</I></span> </p>
<p class="whs2"><span><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments
: </b></font></span>Name + 3 values </p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><img src="pics/vector2.png" x-maintain-ratio="TRUE" width="312px" height="358px" border="0" class="img_whs6"></p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;"><img src="pics/vectors.png" x-maintain-ratio="TRUE" width="298px" height="302px" border="0" class="img_whs7"></b></p>
<p class="whs2">&nbsp;</p>
<p class="whs2">Our TUI Scripts provide you with useful examples
of creation of <a href="basic_geometrical_objects.htm#bookmark5">Basic
Geometric Objects</a>. </p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>