Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > c87dfbd6f7f653536d7b07ed7038c9d8 > files > 3860

clanlib0.8-docs-0.8.1-6.mga1.i586.rpm


<!-- clanlib header begin -->
<HTML>
<HEAD>
<TITLE>CL_Vector - ClanLib Game SDK</TITLE>
<STYLE TYPE="text/css"><!--
HTML BODY
{
	font-family: verdana, helvetica, sans-serif;
	font-size: 12px;
}
H1 { font-size: 22px; }
H2 { font-size: 18px; }
H3 { font-size: 16px; }
H4 { font-size: 14px; }
P { font-size: 12px; }
LI { font-size: 12px; }
--></STYLE>
</HEAD>

<body bgcolor=white text=black link=blue vlink=#800080>

<center>
<img src="http://clanlib.org/gfx/clanlib.png">
</center>
<!-- clanlib header end -->

<center>
<p>
<a href="http://clanlib.org/docs.html">Home</a> |
<a href="classes.html">All Classes</a> |
<a href="modules.html">Grouped Classes</a> |
<a href="index.html">Index</a> |
<a href="search.html">Search</a>
</p>
</center>
<h1>Class CL_Vector</h1>
<p>  Vector class. <a href="#description">More...</a></p>
<p>Derived from:
<i>none</i>
<br>
Derived by:
<i>none</i>
<br>Group: Core (Math)</p>
<p>
#include &lt;ClanLib/core.h&gt;
<p>
<table border=0 width=100%>
</table>
<p><b>Variables:</b></p>
<table border=0 width=100%>
<tr><td width=30% valign=top><p><a href="CL_Vector__x.html">x</a></p></td><td valign=top><p>  x coordinate</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Vector__y.html">y</a></p></td><td valign=top><p>  y coordinate</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Vector__z.html">z</a></p></td><td valign=top><p>  z coordinate</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Vector__w.html">w</a></p></td><td valign=top><p>  w coordinate</p></td></tr></table>
<p><b>Construction:</b></p>
<table border=0 width=100%>
<tr><td width=30% valign=top><p><a href="CL_Vector__CL_Vector.html">CL_Vector</a></p></td><td valign=top><p>  Constructor that initializes a vector</p></td></tr></table>
<p><b>Attributes:</b></p>
<table border=0 width=100%>
<tr><td width=30% valign=top><p><a href="CL_Vector__norm.html">norm</a></p></td><td valign=top><p>  Returns the (euclid) norm of the vector.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Vector__normalize.html">normalize</a></p></td><td valign=top><p>  Normalizes the vector (not taking into account the w ordinate!)</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Vector__dot.html">dot</a></p></td><td valign=top><p>  Dot products this vector with an other vector.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Vector__angle.html">angle</a></p></td><td valign=top><p>  Calculate the angle between this vector and an other vector.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Vector__cross.html">cross</a></p></td><td valign=top><p>  Calculate the cross product between this vector and an other vector.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Vector__rotate.html">rotate</a></p></td><td valign=top><p>  Rotate vector around an axis.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Vector__round.html">round</a></p></td><td valign=top><p>  Rounds all components.</p></td></tr></table>
<p><b>Operators:</b></p>
<table border=0 width=100%>
<tr><td width=30% valign=top><p><a href="CL_Vector__operator * .html">operator * </a></p></td><td valign=top><p>  Scalar product (vector * scalar)</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Vector__.html"></a></p></td><td valign=top><p>  Scalar product (scalar * vector)</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Vector__operator += .html">operator += </a></p></td><td valign=top><p>  += operator.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Vector__operator -= .html">operator -= </a></p></td><td valign=top><p>  -= operator.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Vector__operator * = .html">operator * = </a></p></td><td valign=top><p>  *= operator (scalar multiplication).</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Vector__operator + .html">operator + </a></p></td><td valign=top><p>  + operator.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Vector__operator - .html">operator - </a></p></td><td valign=top><p>  - operator.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Vector__operator = .html">operator = </a></p></td><td valign=top><p>  assignment operator.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Vector__operator == .html">operator == </a></p></td><td valign=top><p>  Returns true if current vector equals v.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Vector__operator != .html">operator != </a></p></td><td valign=top><p>  Returns false if current vector equals v.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Vector__operator [] .html">operator [] </a></p></td><td valign=top><p>  Returns reference to n-th ordinate (0. == x, 1. == y, ...).</p></td></tr></table>
<a name="#description"><p><b>Detailed description:</b></p>
  !group=Core/Math!
  !header=core.h!
  <p>This class provides basic functions and operators for working with vectors.</p>


<!-- clanlib footer begin -->

<center><br><br><font color="#a0a0a0">
Questions or comments, write to the <a href="http://clanlib.org/contact.html">ClanLib mailing list</a>.
</font></center>

</body>
</html>
<!-- clanlib footer end -->