source: NonGTP/FCollada/Documentation/_f_m_vector2_8h.html @ 964

Revision 964, 14.1 KB checked in by igarcia, 18 years ago (diff)
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3<title>FCollada: FMath/FMVector2.h File Reference</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.4.6-NO -->
8<div class="tabs">
9  <ul>
10    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11    <li><a href="modules.html"><span>Modules</span></a></li>
12    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
13    <li><a href="classes.html"><span>Classes</span></a></li>
14    <li id="current"><a href="files.html"><span>Files</span></a></li>
15    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
16  </ul></div>
17<div class="tabs">
18  <ul>
19    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
20    <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
21  </ul></div>
22<h1>FMath/FMVector2.h File Reference</h1>The file containing the class and global functions for 2 dimensional vectors. <a href="#_details">More...</a>
23<p>
24
25<p>
26<a href="_f_m_vector2_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
27<tr><td></td></tr>
28<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
29<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_vector2.html">FMVector2</a></td></tr>
30
31<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A 2 dimensional vector.  <a href="class_f_m_vector2.html#_details">More...</a><br></td></tr>
32<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
33<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_m_vector2.html">FMVector2</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_f_m_vector2_8h.html#27199a28e5bb94856ebc59f994365bc6">operator+</a> (const <a class="el" href="class_f_m_vector2.html">FMVector2</a> &amp;a, const <a class="el" href="class_f_m_vector2.html">FMVector2</a> &amp;b)</td></tr>
34
35<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Vector addition with two <a class="el" href="class_f_m_vector2.html">FMVector2</a>.  <a href="#27199a28e5bb94856ebc59f994365bc6"></a><br></td></tr>
36<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_m_vector2.html">FMVector2</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_f_m_vector2_8h.html#41c213203696d0450c6e36b9419f833d">operator-</a> (const <a class="el" href="class_f_m_vector2.html">FMVector2</a> &amp;a, const <a class="el" href="class_f_m_vector2.html">FMVector2</a> &amp;b)</td></tr>
37
38<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Vector subtraction with two <a class="el" href="class_f_m_vector2.html">FMVector2</a>.  <a href="#41c213203696d0450c6e36b9419f833d"></a><br></td></tr>
39<tr><td class="memItemLeft" nowrap align="right" valign="top">float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_f_m_vector2_8h.html#2c31e674822d5b0aa161102eb8ec8205">operator *</a> (const <a class="el" href="class_f_m_vector2.html">FMVector2</a> &amp;a, const <a class="el" href="class_f_m_vector2.html">FMVector2</a> &amp;b)</td></tr>
40
41<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Dot product of two <a class="el" href="class_f_m_vector2.html">FMVector2</a>.  <a href="#2c31e674822d5b0aa161102eb8ec8205"></a><br></td></tr>
42<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_m_vector2.html">FMVector2</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_f_m_vector2_8h.html#2b9c441b1d3d54318a3fbf48e975db32">operator *</a> (const <a class="el" href="class_f_m_vector2.html">FMVector2</a> &amp;a, float b)</td></tr>
43
44<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Scalar multiplication with a <a class="el" href="class_f_m_vector2.html">FMVector2</a>.  <a href="#2b9c441b1d3d54318a3fbf48e975db32"></a><br></td></tr>
45<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_m_vector2.html">FMVector2</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_f_m_vector2_8h.html#2c8c7996d4fad058a0a7343d51e6cd1b">operator *</a> (float a, const <a class="el" href="class_f_m_vector2.html">FMVector2</a> &amp;b)</td></tr>
46
47<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Scalar multiplication with a <a class="el" href="class_f_m_vector2.html">FMVector2</a>.  <a href="#2c8c7996d4fad058a0a7343d51e6cd1b"></a><br></td></tr>
48</table>
49<hr><a name="_details"></a><h2>Detailed Description</h2>
50The file containing the class and global functions for 2 dimensional vectors.
51<p>
52<hr><h2>Function Documentation</h2>
53<a class="anchor" name="2c8c7996d4fad058a0a7343d51e6cd1b"></a><!-- doxytag: member="FMVector2.h::operator *" ref="2c8c7996d4fad058a0a7343d51e6cd1b" args="(float a, const FMVector2 &amp;b)" --><p>
54<table class="mdTable" cellpadding="2" cellspacing="0">
55  <tr>
56    <td class="mdRow">
57      <table cellpadding="0" cellspacing="0" border="0">
58        <tr>
59          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector2.html">FMVector2</a> operator *           </td>
60          <td class="md" valign="top">(&nbsp;</td>
61          <td class="md" nowrap valign="top">float&nbsp;</td>
62          <td class="mdname" nowrap> <em>a</em>, </td>
63        </tr>
64        <tr>
65          <td class="md" nowrap align="right"></td>
66          <td class="md"></td>
67          <td class="md" nowrap>const <a class="el" href="class_f_m_vector2.html">FMVector2</a> &amp;&nbsp;</td>
68          <td class="mdname" nowrap> <em>b</em></td>
69        </tr>
70        <tr>
71          <td class="md"></td>
72          <td class="md">)&nbsp;</td>
73          <td class="md" colspan="2"><code> [inline]</code></td>
74        </tr>
75      </table>
76    </td>
77  </tr>
78</table>
79<table cellspacing="5" cellpadding="0" border="0">
80  <tr>
81    <td>
82      &nbsp;
83    </td>
84    <td>
85
86<p>
87Scalar multiplication with a <a class="el" href="class_f_m_vector2.html">FMVector2</a>.
88<p>
89<dl compact><dt><b>Parameters:</b></dt><dd>
90  <table border="0" cellspacing="2" cellpadding="0">
91    <tr><td valign="top"></td><td valign="top"><em>a</em>&nbsp;</td><td>The scalar. </td></tr>
92    <tr><td valign="top"></td><td valign="top"><em>b</em>&nbsp;</td><td>The vector. </td></tr>
93  </table>
94</dl>
95<dl compact><dt><b>Returns:</b></dt><dd>The <a class="el" href="class_f_m_vector2.html">FMVector2</a> representing the resulting the vector. </dd></dl>
96    </td>
97  </tr>
98</table>
99<a class="anchor" name="2b9c441b1d3d54318a3fbf48e975db32"></a><!-- doxytag: member="FMVector2.h::operator *" ref="2b9c441b1d3d54318a3fbf48e975db32" args="(const FMVector2 &amp;a, float b)" --><p>
100<table class="mdTable" cellpadding="2" cellspacing="0">
101  <tr>
102    <td class="mdRow">
103      <table cellpadding="0" cellspacing="0" border="0">
104        <tr>
105          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector2.html">FMVector2</a> operator *           </td>
106          <td class="md" valign="top">(&nbsp;</td>
107          <td class="md" nowrap valign="top">const <a class="el" href="class_f_m_vector2.html">FMVector2</a> &amp;&nbsp;</td>
108          <td class="mdname" nowrap> <em>a</em>, </td>
109        </tr>
110        <tr>
111          <td class="md" nowrap align="right"></td>
112          <td class="md"></td>
113          <td class="md" nowrap>float&nbsp;</td>
114          <td class="mdname" nowrap> <em>b</em></td>
115        </tr>
116        <tr>
117          <td class="md"></td>
118          <td class="md">)&nbsp;</td>
119          <td class="md" colspan="2"><code> [inline]</code></td>
120        </tr>
121      </table>
122    </td>
123  </tr>
124</table>
125<table cellspacing="5" cellpadding="0" border="0">
126  <tr>
127    <td>
128      &nbsp;
129    </td>
130    <td>
131
132<p>
133Scalar multiplication with a <a class="el" href="class_f_m_vector2.html">FMVector2</a>.
134<p>
135<dl compact><dt><b>Parameters:</b></dt><dd>
136  <table border="0" cellspacing="2" cellpadding="0">
137    <tr><td valign="top"></td><td valign="top"><em>a</em>&nbsp;</td><td>The vector. </td></tr>
138    <tr><td valign="top"></td><td valign="top"><em>b</em>&nbsp;</td><td>The scalar. </td></tr>
139  </table>
140</dl>
141<dl compact><dt><b>Returns:</b></dt><dd>The <a class="el" href="class_f_m_vector2.html">FMVector2</a> representing the resulting the vector. </dd></dl>
142    </td>
143  </tr>
144</table>
145<a class="anchor" name="2c31e674822d5b0aa161102eb8ec8205"></a><!-- doxytag: member="FMVector2.h::operator *" ref="2c31e674822d5b0aa161102eb8ec8205" args="(const FMVector2 &amp;a, const FMVector2 &amp;b)" --><p>
146<table class="mdTable" cellpadding="2" cellspacing="0">
147  <tr>
148    <td class="mdRow">
149      <table cellpadding="0" cellspacing="0" border="0">
150        <tr>
151          <td class="md" nowrap valign="top">float operator *           </td>
152          <td class="md" valign="top">(&nbsp;</td>
153          <td class="md" nowrap valign="top">const <a class="el" href="class_f_m_vector2.html">FMVector2</a> &amp;&nbsp;</td>
154          <td class="mdname" nowrap> <em>a</em>, </td>
155        </tr>
156        <tr>
157          <td class="md" nowrap align="right"></td>
158          <td class="md"></td>
159          <td class="md" nowrap>const <a class="el" href="class_f_m_vector2.html">FMVector2</a> &amp;&nbsp;</td>
160          <td class="mdname" nowrap> <em>b</em></td>
161        </tr>
162        <tr>
163          <td class="md"></td>
164          <td class="md">)&nbsp;</td>
165          <td class="md" colspan="2"><code> [inline]</code></td>
166        </tr>
167      </table>
168    </td>
169  </tr>
170</table>
171<table cellspacing="5" cellpadding="0" border="0">
172  <tr>
173    <td>
174      &nbsp;
175    </td>
176    <td>
177
178<p>
179Dot product of two <a class="el" href="class_f_m_vector2.html">FMVector2</a>.
180<p>
181<dl compact><dt><b>Parameters:</b></dt><dd>
182  <table border="0" cellspacing="2" cellpadding="0">
183    <tr><td valign="top"></td><td valign="top"><em>a</em>&nbsp;</td><td>The first vector. </td></tr>
184    <tr><td valign="top"></td><td valign="top"><em>b</em>&nbsp;</td><td>The second vector. </td></tr>
185  </table>
186</dl>
187<dl compact><dt><b>Returns:</b></dt><dd>The result of the dot product. </dd></dl>
188    </td>
189  </tr>
190</table>
191<a class="anchor" name="27199a28e5bb94856ebc59f994365bc6"></a><!-- doxytag: member="FMVector2.h::operator+" ref="27199a28e5bb94856ebc59f994365bc6" args="(const FMVector2 &amp;a, const FMVector2 &amp;b)" --><p>
192<table class="mdTable" cellpadding="2" cellspacing="0">
193  <tr>
194    <td class="mdRow">
195      <table cellpadding="0" cellspacing="0" border="0">
196        <tr>
197          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector2.html">FMVector2</a> operator+           </td>
198          <td class="md" valign="top">(&nbsp;</td>
199          <td class="md" nowrap valign="top">const <a class="el" href="class_f_m_vector2.html">FMVector2</a> &amp;&nbsp;</td>
200          <td class="mdname" nowrap> <em>a</em>, </td>
201        </tr>
202        <tr>
203          <td class="md" nowrap align="right"></td>
204          <td class="md"></td>
205          <td class="md" nowrap>const <a class="el" href="class_f_m_vector2.html">FMVector2</a> &amp;&nbsp;</td>
206          <td class="mdname" nowrap> <em>b</em></td>
207        </tr>
208        <tr>
209          <td class="md"></td>
210          <td class="md">)&nbsp;</td>
211          <td class="md" colspan="2"><code> [inline]</code></td>
212        </tr>
213      </table>
214    </td>
215  </tr>
216</table>
217<table cellspacing="5" cellpadding="0" border="0">
218  <tr>
219    <td>
220      &nbsp;
221    </td>
222    <td>
223
224<p>
225Vector addition with two <a class="el" href="class_f_m_vector2.html">FMVector2</a>.
226<p>
227<dl compact><dt><b>Parameters:</b></dt><dd>
228  <table border="0" cellspacing="2" cellpadding="0">
229    <tr><td valign="top"></td><td valign="top"><em>a</em>&nbsp;</td><td>The first vector. </td></tr>
230    <tr><td valign="top"></td><td valign="top"><em>b</em>&nbsp;</td><td>The second vector. </td></tr>
231  </table>
232</dl>
233<dl compact><dt><b>Returns:</b></dt><dd>The <a class="el" href="class_f_m_vector2.html">FMVector2</a> representation of the resulting vector. </dd></dl>
234    </td>
235  </tr>
236</table>
237<a class="anchor" name="41c213203696d0450c6e36b9419f833d"></a><!-- doxytag: member="FMVector2.h::operator-" ref="41c213203696d0450c6e36b9419f833d" args="(const FMVector2 &amp;a, const FMVector2 &amp;b)" --><p>
238<table class="mdTable" cellpadding="2" cellspacing="0">
239  <tr>
240    <td class="mdRow">
241      <table cellpadding="0" cellspacing="0" border="0">
242        <tr>
243          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector2.html">FMVector2</a> operator-           </td>
244          <td class="md" valign="top">(&nbsp;</td>
245          <td class="md" nowrap valign="top">const <a class="el" href="class_f_m_vector2.html">FMVector2</a> &amp;&nbsp;</td>
246          <td class="mdname" nowrap> <em>a</em>, </td>
247        </tr>
248        <tr>
249          <td class="md" nowrap align="right"></td>
250          <td class="md"></td>
251          <td class="md" nowrap>const <a class="el" href="class_f_m_vector2.html">FMVector2</a> &amp;&nbsp;</td>
252          <td class="mdname" nowrap> <em>b</em></td>
253        </tr>
254        <tr>
255          <td class="md"></td>
256          <td class="md">)&nbsp;</td>
257          <td class="md" colspan="2"><code> [inline]</code></td>
258        </tr>
259      </table>
260    </td>
261  </tr>
262</table>
263<table cellspacing="5" cellpadding="0" border="0">
264  <tr>
265    <td>
266      &nbsp;
267    </td>
268    <td>
269
270<p>
271Vector subtraction with two <a class="el" href="class_f_m_vector2.html">FMVector2</a>.
272<p>
273<dl compact><dt><b>Parameters:</b></dt><dd>
274  <table border="0" cellspacing="2" cellpadding="0">
275    <tr><td valign="top"></td><td valign="top"><em>a</em>&nbsp;</td><td>The first vector. </td></tr>
276    <tr><td valign="top"></td><td valign="top"><em>b</em>&nbsp;</td><td>The second vector. </td></tr>
277  </table>
278</dl>
279<dl compact><dt><b>Returns:</b></dt><dd>The <a class="el" href="class_f_m_vector2.html">FMVector2</a> representation of the resulting vector. </dd></dl>
280    </td>
281  </tr>
282</table>
283<hr size="1"><address style="align: right;"><small>Generated on Fri May 12 16:44:40 2006 for FCollada by&nbsp;
284<a href="http://www.doxygen.org/index.html">
285<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address>
286</body>
287</html>
Note: See TracBrowser for help on using the repository browser.