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

Revision 964, 27.8 KB checked in by igarcia, 19 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: FMMatrix33 Class 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 id="current"><a href="classes.html"><span>Classes</span></a></li>
14    <li><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="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
20    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
21    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
22    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
23  </ul></div>
24<h1>FMMatrix33 Class Reference<br>
25<small>
26[<a class="el" href="group___f_math.html">Mathematics Classes.</a>]</small>
27</h1><!-- doxytag: class="FMMatrix33" -->A 3x3 matrix: use to represent 2D transformations. 
28<a href="#_details">More...</a>
29<p>
30<code>#include &lt;<a class="el" href="_f_m_matrix33_8h-source.html">FMMatrix33.h</a>&gt;</code>
31<p>
32<a href="class_f_m_matrix33-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
33<tr><td></td></tr>
34<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
35<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix33.html#aaa2c13f0e797c868ec3042cb9ed48b6">FMMatrix33</a> (float *_m)</td></tr>
36
37<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a> from the <code>float</code> array.  <a href="#aaa2c13f0e797c868ec3042cb9ed48b6"></a><br></td></tr>
38<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix33.html#ce369b9695f0110475ab09200f914aa6">FMMatrix33</a> ()</td></tr>
39
40<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates an empty <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a>.  <a href="#ce369b9695f0110475ab09200f914aa6"></a><br></td></tr>
41<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix33.html#723877ff60d022ec7bb051947a73652b">operator float *</a> ()</td></tr>
42
43<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get this <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a> as an array of <code>floats</code>.  <a href="#723877ff60d022ec7bb051947a73652b"></a><br></td></tr>
44<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix33.html#0b4c98e78d0a6aff94cd0b9df52b723e">operator const float *</a> () const </td></tr>
45
46<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get this FMMatrix as an array of <code>floats</code>.  <a href="#0b4c98e78d0a6aff94cd0b9df52b723e"></a><br></td></tr>
47<tr><td class="memItemLeft" nowrap align="right" valign="top">float *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix33.html#17914c286b1df2f8e1727fe9416435e7">operator[]</a> (int a)</td></tr>
48
49<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a specified row of <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a> as an array of <code>floats</code>.  <a href="#17914c286b1df2f8e1727fe9416435e7"></a><br></td></tr>
50<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_m_matrix33.html">FMMatrix33</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix33.html#718b7a4c323bea4606efa47f46ec80a2">operator=</a> (const <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a> &amp;copy)</td></tr>
51
52<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Assign this FMMatrix33's elements to be the same as that of the given <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a>.  <a href="#718b7a4c323bea4606efa47f46ec80a2"></a><br></td></tr>
53<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_m_matrix33.html">FMMatrix33</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix33.html#4a12b1558c937f7972af9156910eb644">Transposed</a> () const </td></tr>
54
55<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the transposed of this <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a>.  <a href="#4a12b1558c937f7972af9156910eb644"></a><br></td></tr>
56<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_m_matrix33.html">FMMatrix33</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix33.html#d14af34a608a0e918e03446382c72213">Inverted</a> () const </td></tr>
57
58<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the inversion of this <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a>.  <a href="#d14af34a608a0e918e03446382c72213"></a><br></td></tr>
59<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
60<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix33.html#16b417ca0fb9205e5d3084fb5f8c286b">RotationMatrix</a> (float angle)</td></tr>
61
62<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a> representation of a 2D counter-clockwise rotation about the z-axis.  <a href="#16b417ca0fb9205e5d3084fb5f8c286b"></a><br></td></tr>
63<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix33.html#e270a2deb1cc2fad9de64b7d71739b69">TranslationMatrix</a> (float tx, float ty)</td></tr>
64
65<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a> representation of a 2D translation.  <a href="#e270a2deb1cc2fad9de64b7d71739b69"></a><br></td></tr>
66<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix33.html#e7262dffe044946b2123c905bda03c41">ScaleMatrix</a> (float sx, float sy)</td></tr>
67
68<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a> representation of a 2D scale.  <a href="#e7262dffe044946b2123c905bda03c41"></a><br></td></tr>
69<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix33.html#8c3951ad39dd4aa16b82f4baf2e22c2c">TranslationMatrix</a> (<a class="el" href="class_f_m_vector2.html">FMVector2</a> translation)</td></tr>
70
71<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a> representation of a 2D translation.  <a href="#8c3951ad39dd4aa16b82f4baf2e22c2c"></a><br></td></tr>
72<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix33.html#a8d1703c15367aca1106ed6a20e4cb32">ScaleMatrix</a> (<a class="el" href="class_f_m_vector2.html">FMVector2</a> scale)</td></tr>
73
74<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a> representation of a 2D scale.  <a href="#a8d1703c15367aca1106ed6a20e4cb32"></a><br></td></tr>
75<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
76<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7cb9ef5c51c1e7610e43d1ba923e4269"></a><!-- doxytag: member="FMMatrix33::m" ref="7cb9ef5c51c1e7610e43d1ba923e4269" args="[3][3]" -->
77float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix33.html#7cb9ef5c51c1e7610e43d1ba923e4269">m</a> [3][3]</td></tr>
78
79<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The matrix elements stored in a 2D array. <br></td></tr>
80<tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr>
81<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="aed39a65535b75afa28af7409ec5f0b8"></a><!-- doxytag: member="FMMatrix33::identity" ref="aed39a65535b75afa28af7409ec5f0b8" args="" -->
82static <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix33.html#aed39a65535b75afa28af7409ec5f0b8">identity</a></td></tr>
83
84<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The identity <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a>. <br></td></tr>
85</table>
86<hr><a name="_details"></a><h2>Detailed Description</h2>
87A 3x3 matrix: use to represent 2D transformations.
88<p>
89Not used within <a class="el" href="namespace_f_collada.html">FCollada</a>.
90<p>
91<hr><h2>Constructor &amp; Destructor Documentation</h2>
92<a class="anchor" name="aaa2c13f0e797c868ec3042cb9ed48b6"></a><!-- doxytag: member="FMMatrix33::FMMatrix33" ref="aaa2c13f0e797c868ec3042cb9ed48b6" args="(float *_m)" --><p>
93<table class="mdTable" cellpadding="2" cellspacing="0">
94  <tr>
95    <td class="mdRow">
96      <table cellpadding="0" cellspacing="0" border="0">
97        <tr>
98          <td class="md" nowrap valign="top">FMMatrix33::FMMatrix33           </td>
99          <td class="md" valign="top">(&nbsp;</td>
100          <td class="md" nowrap valign="top">float *&nbsp;</td>
101          <td class="mdname1" valign="top" nowrap> <em>_m</em>          </td>
102          <td class="md" valign="top">&nbsp;)&nbsp;</td>
103          <td class="md" nowrap></td>
104        </tr>
105      </table>
106    </td>
107  </tr>
108</table>
109<table cellspacing="5" cellpadding="0" border="0">
110  <tr>
111    <td>
112      &nbsp;
113    </td>
114    <td>
115
116<p>
117Creates a <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a> from the <code>float</code> array.
118<p>
119The float array stores the elements in the following order: m[0][0], m[1][0], m[2][0], m[0][1], m[1][1], m[2][1], m[0][2], m[1][2], m[2][2].<p>
120<dl compact><dt><b>Parameters:</b></dt><dd>
121  <table border="0" cellspacing="2" cellpadding="0">
122    <tr><td valign="top"></td><td valign="top"><em>_m</em>&nbsp;</td><td>The <code>float</code> array to create the matrix from. </td></tr>
123  </table>
124</dl>
125    </td>
126  </tr>
127</table>
128<a class="anchor" name="ce369b9695f0110475ab09200f914aa6"></a><!-- doxytag: member="FMMatrix33::FMMatrix33" ref="ce369b9695f0110475ab09200f914aa6" args="()" --><p>
129<table class="mdTable" cellpadding="2" cellspacing="0">
130  <tr>
131    <td class="mdRow">
132      <table cellpadding="0" cellspacing="0" border="0">
133        <tr>
134          <td class="md" nowrap valign="top">FMMatrix33::FMMatrix33           </td>
135          <td class="md" valign="top">(&nbsp;</td>
136          <td class="mdname1" valign="top" nowrap>          </td>
137          <td class="md" valign="top">&nbsp;)&nbsp;</td>
138          <td class="md" nowrap><code> [inline]</code></td>
139        </tr>
140      </table>
141    </td>
142  </tr>
143</table>
144<table cellspacing="5" cellpadding="0" border="0">
145  <tr>
146    <td>
147      &nbsp;
148    </td>
149    <td>
150
151<p>
152Creates an empty <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a>.
153<p>
154The default values are non deterministic.     </td>
155  </tr>
156</table>
157<hr><h2>Member Function Documentation</h2>
158<a class="anchor" name="d14af34a608a0e918e03446382c72213"></a><!-- doxytag: member="FMMatrix33::Inverted" ref="d14af34a608a0e918e03446382c72213" args="() const " --><p>
159<table class="mdTable" cellpadding="2" cellspacing="0">
160  <tr>
161    <td class="mdRow">
162      <table cellpadding="0" cellspacing="0" border="0">
163        <tr>
164          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_matrix33.html">FMMatrix33</a> FMMatrix33::Inverted           </td>
165          <td class="md" valign="top">(&nbsp;</td>
166          <td class="mdname1" valign="top" nowrap>          </td>
167          <td class="md" valign="top">&nbsp;)&nbsp;</td>
168          <td class="md" nowrap> const</td>
169        </tr>
170      </table>
171    </td>
172  </tr>
173</table>
174<table cellspacing="5" cellpadding="0" border="0">
175  <tr>
176    <td>
177      &nbsp;
178    </td>
179    <td>
180
181<p>
182Gets the inversion of this <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a>.
183<p>
184<dl compact><dt><b>Returns:</b></dt><dd>The inversion of this FMMatrix. </dd></dl>
185    </td>
186  </tr>
187</table>
188<a class="anchor" name="0b4c98e78d0a6aff94cd0b9df52b723e"></a><!-- doxytag: member="FMMatrix33::operator const float *" ref="0b4c98e78d0a6aff94cd0b9df52b723e" args="() const " --><p>
189<table class="mdTable" cellpadding="2" cellspacing="0">
190  <tr>
191    <td class="mdRow">
192      <table cellpadding="0" cellspacing="0" border="0">
193        <tr>
194          <td class="md" nowrap valign="top">FMMatrix33::operator const float *           </td>
195          <td class="md" valign="top">(&nbsp;</td>
196          <td class="mdname1" valign="top" nowrap>          </td>
197          <td class="md" valign="top">&nbsp;)&nbsp;</td>
198          <td class="md" nowrap> const<code> [inline]</code></td>
199        </tr>
200      </table>
201    </td>
202  </tr>
203</table>
204<table cellspacing="5" cellpadding="0" border="0">
205  <tr>
206    <td>
207      &nbsp;
208    </td>
209    <td>
210
211<p>
212Get this FMMatrix as an array of <code>floats</code>.
213<p>
214The array contains the elements in the following order: m[0][0], m[0][1], m[0][2], m[1][0], m[1][1], m[1][2], m[2][0], m[2][1], m[2][2].<p>
215<dl compact><dt><b>Returns:</b></dt><dd>The <code>float</code> array. </dd></dl>
216    </td>
217  </tr>
218</table>
219<a class="anchor" name="723877ff60d022ec7bb051947a73652b"></a><!-- doxytag: member="FMMatrix33::operator float *" ref="723877ff60d022ec7bb051947a73652b" args="()" --><p>
220<table class="mdTable" cellpadding="2" cellspacing="0">
221  <tr>
222    <td class="mdRow">
223      <table cellpadding="0" cellspacing="0" border="0">
224        <tr>
225          <td class="md" nowrap valign="top">FMMatrix33::operator float *           </td>
226          <td class="md" valign="top">(&nbsp;</td>
227          <td class="mdname1" valign="top" nowrap>          </td>
228          <td class="md" valign="top">&nbsp;)&nbsp;</td>
229          <td class="md" nowrap><code> [inline]</code></td>
230        </tr>
231      </table>
232    </td>
233  </tr>
234</table>
235<table cellspacing="5" cellpadding="0" border="0">
236  <tr>
237    <td>
238      &nbsp;
239    </td>
240    <td>
241
242<p>
243Get this <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a> as an array of <code>floats</code>.
244<p>
245The array contains the elements in the following order: m[0][0], m[0][1], m[0][2], m[1][0], m[1][1], m[1][2], m[2][0], m[2][1], m[2][2].<p>
246<dl compact><dt><b>Returns:</b></dt><dd>The <code>float</code> array. </dd></dl>
247    </td>
248  </tr>
249</table>
250<a class="anchor" name="718b7a4c323bea4606efa47f46ec80a2"></a><!-- doxytag: member="FMMatrix33::operator=" ref="718b7a4c323bea4606efa47f46ec80a2" args="(const FMMatrix33 &amp;copy)" --><p>
251<table class="mdTable" cellpadding="2" cellspacing="0">
252  <tr>
253    <td class="mdRow">
254      <table cellpadding="0" cellspacing="0" border="0">
255        <tr>
256          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_matrix33.html">FMMatrix33</a>&amp; FMMatrix33::operator=           </td>
257          <td class="md" valign="top">(&nbsp;</td>
258          <td class="md" nowrap valign="top">const <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a> &amp;&nbsp;</td>
259          <td class="mdname1" valign="top" nowrap> <em>copy</em>          </td>
260          <td class="md" valign="top">&nbsp;)&nbsp;</td>
261          <td class="md" nowrap></td>
262        </tr>
263      </table>
264    </td>
265  </tr>
266</table>
267<table cellspacing="5" cellpadding="0" border="0">
268  <tr>
269    <td>
270      &nbsp;
271    </td>
272    <td>
273
274<p>
275Assign this FMMatrix33's elements to be the same as that of the given <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a>.
276<p>
277<dl compact><dt><b>Parameters:</b></dt><dd>
278  <table border="0" cellspacing="2" cellpadding="0">
279    <tr><td valign="top"></td><td valign="top"><em>copy</em>&nbsp;</td><td>The FMMatrix to copy elements from. </td></tr>
280  </table>
281</dl>
282<dl compact><dt><b>Returns:</b></dt><dd>This FMMatrix. </dd></dl>
283    </td>
284  </tr>
285</table>
286<a class="anchor" name="17914c286b1df2f8e1727fe9416435e7"></a><!-- doxytag: member="FMMatrix33::operator[]" ref="17914c286b1df2f8e1727fe9416435e7" args="(int a)" --><p>
287<table class="mdTable" cellpadding="2" cellspacing="0">
288  <tr>
289    <td class="mdRow">
290      <table cellpadding="0" cellspacing="0" border="0">
291        <tr>
292          <td class="md" nowrap valign="top">float* FMMatrix33::operator[]           </td>
293          <td class="md" valign="top">(&nbsp;</td>
294          <td class="md" nowrap valign="top">int&nbsp;</td>
295          <td class="mdname1" valign="top" nowrap> <em>a</em>          </td>
296          <td class="md" valign="top">&nbsp;)&nbsp;</td>
297          <td class="md" nowrap><code> [inline]</code></td>
298        </tr>
299      </table>
300    </td>
301  </tr>
302</table>
303<table cellspacing="5" cellpadding="0" border="0">
304  <tr>
305    <td>
306      &nbsp;
307    </td>
308    <td>
309
310<p>
311Get a specified row of <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a> as an array of <code>floats</code>.
312<p>
313<dl compact><dt><b>Parameters:</b></dt><dd>
314  <table border="0" cellspacing="2" cellpadding="0">
315    <tr><td valign="top"></td><td valign="top"><em>a</em>&nbsp;</td><td>The row index, starting at 0, of the row to get. </td></tr>
316  </table>
317</dl>
318<dl compact><dt><b>Returns:</b></dt><dd>The <code>float</code> array of the elements in the specified row. </dd></dl>
319    </td>
320  </tr>
321</table>
322<a class="anchor" name="16b417ca0fb9205e5d3084fb5f8c286b"></a><!-- doxytag: member="FMMatrix33::RotationMatrix" ref="16b417ca0fb9205e5d3084fb5f8c286b" args="(float angle)" --><p>
323<table class="mdTable" cellpadding="2" cellspacing="0">
324  <tr>
325    <td class="mdRow">
326      <table cellpadding="0" cellspacing="0" border="0">
327        <tr>
328          <td class="md" nowrap valign="top">static <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a> FMMatrix33::RotationMatrix           </td>
329          <td class="md" valign="top">(&nbsp;</td>
330          <td class="md" nowrap valign="top">float&nbsp;</td>
331          <td class="mdname1" valign="top" nowrap> <em>angle</em>          </td>
332          <td class="md" valign="top">&nbsp;)&nbsp;</td>
333          <td class="md" nowrap><code> [static]</code></td>
334        </tr>
335      </table>
336    </td>
337  </tr>
338</table>
339<table cellspacing="5" cellpadding="0" border="0">
340  <tr>
341    <td>
342      &nbsp;
343    </td>
344    <td>
345
346<p>
347Gets the <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a> representation of a 2D counter-clockwise rotation about the z-axis.
348<p>
349<dl compact><dt><b>Parameters:</b></dt><dd>
350  <table border="0" cellspacing="2" cellpadding="0">
351    <tr><td valign="top"></td><td valign="top"><em>angle</em>&nbsp;</td><td>The angle of rotation in radians. </td></tr>
352  </table>
353</dl>
354<dl compact><dt><b>Returns:</b></dt><dd>The rotation FMMatrix. </dd></dl>
355    </td>
356  </tr>
357</table>
358<a class="anchor" name="a8d1703c15367aca1106ed6a20e4cb32"></a><!-- doxytag: member="FMMatrix33::ScaleMatrix" ref="a8d1703c15367aca1106ed6a20e4cb32" args="(FMVector2 scale)" --><p>
359<table class="mdTable" cellpadding="2" cellspacing="0">
360  <tr>
361    <td class="mdRow">
362      <table cellpadding="0" cellspacing="0" border="0">
363        <tr>
364          <td class="md" nowrap valign="top">static <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a> FMMatrix33::ScaleMatrix           </td>
365          <td class="md" valign="top">(&nbsp;</td>
366          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector2.html">FMVector2</a>&nbsp;</td>
367          <td class="mdname1" valign="top" nowrap> <em>scale</em>          </td>
368          <td class="md" valign="top">&nbsp;)&nbsp;</td>
369          <td class="md" nowrap><code> [inline, static]</code></td>
370        </tr>
371      </table>
372    </td>
373  </tr>
374</table>
375<table cellspacing="5" cellpadding="0" border="0">
376  <tr>
377    <td>
378      &nbsp;
379    </td>
380    <td>
381
382<p>
383Gets the <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a> representation of a 2D scale.
384<p>
385The scale in the x direction is the <em>u</em> componenet of the given FMVector and the scale in the y direction is the <em>v</em> component.<p>
386<dl compact><dt><b>Parameters:</b></dt><dd>
387  <table border="0" cellspacing="2" cellpadding="0">
388    <tr><td valign="top"></td><td valign="top"><em>scale</em>&nbsp;</td><td>The <a class="el" href="class_f_m_vector2.html">FMVector2</a> to get the scale components from. </td></tr>
389  </table>
390</dl>
391<dl compact><dt><b>Returns:</b></dt><dd>The scale <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a>. </dd></dl>
392    </td>
393  </tr>
394</table>
395<a class="anchor" name="e7262dffe044946b2123c905bda03c41"></a><!-- doxytag: member="FMMatrix33::ScaleMatrix" ref="e7262dffe044946b2123c905bda03c41" args="(float sx, float sy)" --><p>
396<table class="mdTable" cellpadding="2" cellspacing="0">
397  <tr>
398    <td class="mdRow">
399      <table cellpadding="0" cellspacing="0" border="0">
400        <tr>
401          <td class="md" nowrap valign="top">static <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a> FMMatrix33::ScaleMatrix           </td>
402          <td class="md" valign="top">(&nbsp;</td>
403          <td class="md" nowrap valign="top">float&nbsp;</td>
404          <td class="mdname" nowrap> <em>sx</em>, </td>
405        </tr>
406        <tr>
407          <td class="md" nowrap align="right"></td>
408          <td class="md"></td>
409          <td class="md" nowrap>float&nbsp;</td>
410          <td class="mdname" nowrap> <em>sy</em></td>
411        </tr>
412        <tr>
413          <td class="md"></td>
414          <td class="md">)&nbsp;</td>
415          <td class="md" colspan="2"><code> [static]</code></td>
416        </tr>
417      </table>
418    </td>
419  </tr>
420</table>
421<table cellspacing="5" cellpadding="0" border="0">
422  <tr>
423    <td>
424      &nbsp;
425    </td>
426    <td>
427
428<p>
429Gets the <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a> representation of a 2D scale.
430<p>
431<dl compact><dt><b>Parameters:</b></dt><dd>
432  <table border="0" cellspacing="2" cellpadding="0">
433    <tr><td valign="top"></td><td valign="top"><em>sx</em>&nbsp;</td><td>The scale factor in the x direction. </td></tr>
434    <tr><td valign="top"></td><td valign="top"><em>sy</em>&nbsp;</td><td>The scale factor in the y direction. </td></tr>
435  </table>
436</dl>
437<dl compact><dt><b>Returns:</b></dt><dd>The scale FMMatrix. </dd></dl>
438    </td>
439  </tr>
440</table>
441<a class="anchor" name="8c3951ad39dd4aa16b82f4baf2e22c2c"></a><!-- doxytag: member="FMMatrix33::TranslationMatrix" ref="8c3951ad39dd4aa16b82f4baf2e22c2c" args="(FMVector2 translation)" --><p>
442<table class="mdTable" cellpadding="2" cellspacing="0">
443  <tr>
444    <td class="mdRow">
445      <table cellpadding="0" cellspacing="0" border="0">
446        <tr>
447          <td class="md" nowrap valign="top">static <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a> FMMatrix33::TranslationMatrix           </td>
448          <td class="md" valign="top">(&nbsp;</td>
449          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector2.html">FMVector2</a>&nbsp;</td>
450          <td class="mdname1" valign="top" nowrap> <em>translation</em>          </td>
451          <td class="md" valign="top">&nbsp;)&nbsp;</td>
452          <td class="md" nowrap><code> [inline, static]</code></td>
453        </tr>
454      </table>
455    </td>
456  </tr>
457</table>
458<table cellspacing="5" cellpadding="0" border="0">
459  <tr>
460    <td>
461      &nbsp;
462    </td>
463    <td>
464
465<p>
466Gets the <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a> representation of a 2D translation.
467<p>
468The translation in the x direction is the <em>u</em> componenet of the given <a class="el" href="class_f_m_vector2.html">FMVector2</a> and the translation in the y direction is the <em>v</em> component.<p>
469<dl compact><dt><b>Parameters:</b></dt><dd>
470  <table border="0" cellspacing="2" cellpadding="0">
471    <tr><td valign="top"></td><td valign="top"><em>translation</em>&nbsp;</td><td>The <a class="el" href="class_f_m_vector2.html">FMVector2</a> to get the translation components from. </td></tr>
472  </table>
473</dl>
474<dl compact><dt><b>Returns:</b></dt><dd>The translation <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a>. </dd></dl>
475    </td>
476  </tr>
477</table>
478<a class="anchor" name="e270a2deb1cc2fad9de64b7d71739b69"></a><!-- doxytag: member="FMMatrix33::TranslationMatrix" ref="e270a2deb1cc2fad9de64b7d71739b69" args="(float tx, float ty)" --><p>
479<table class="mdTable" cellpadding="2" cellspacing="0">
480  <tr>
481    <td class="mdRow">
482      <table cellpadding="0" cellspacing="0" border="0">
483        <tr>
484          <td class="md" nowrap valign="top">static <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a> FMMatrix33::TranslationMatrix           </td>
485          <td class="md" valign="top">(&nbsp;</td>
486          <td class="md" nowrap valign="top">float&nbsp;</td>
487          <td class="mdname" nowrap> <em>tx</em>, </td>
488        </tr>
489        <tr>
490          <td class="md" nowrap align="right"></td>
491          <td class="md"></td>
492          <td class="md" nowrap>float&nbsp;</td>
493          <td class="mdname" nowrap> <em>ty</em></td>
494        </tr>
495        <tr>
496          <td class="md"></td>
497          <td class="md">)&nbsp;</td>
498          <td class="md" colspan="2"><code> [static]</code></td>
499        </tr>
500      </table>
501    </td>
502  </tr>
503</table>
504<table cellspacing="5" cellpadding="0" border="0">
505  <tr>
506    <td>
507      &nbsp;
508    </td>
509    <td>
510
511<p>
512Gets the <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a> representation of a 2D translation.
513<p>
514<dl compact><dt><b>Parameters:</b></dt><dd>
515  <table border="0" cellspacing="2" cellpadding="0">
516    <tr><td valign="top"></td><td valign="top"><em>tx</em>&nbsp;</td><td>The translation in the x direction. </td></tr>
517    <tr><td valign="top"></td><td valign="top"><em>ty</em>&nbsp;</td><td>The translation in the y direction. </td></tr>
518  </table>
519</dl>
520<dl compact><dt><b>Returns:</b></dt><dd>The translation FMMatrix. </dd></dl>
521    </td>
522  </tr>
523</table>
524<a class="anchor" name="4a12b1558c937f7972af9156910eb644"></a><!-- doxytag: member="FMMatrix33::Transposed" ref="4a12b1558c937f7972af9156910eb644" args="() const " --><p>
525<table class="mdTable" cellpadding="2" cellspacing="0">
526  <tr>
527    <td class="mdRow">
528      <table cellpadding="0" cellspacing="0" border="0">
529        <tr>
530          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_matrix33.html">FMMatrix33</a> FMMatrix33::Transposed           </td>
531          <td class="md" valign="top">(&nbsp;</td>
532          <td class="mdname1" valign="top" nowrap>          </td>
533          <td class="md" valign="top">&nbsp;)&nbsp;</td>
534          <td class="md" nowrap> const</td>
535        </tr>
536      </table>
537    </td>
538  </tr>
539</table>
540<table cellspacing="5" cellpadding="0" border="0">
541  <tr>
542    <td>
543      &nbsp;
544    </td>
545    <td>
546
547<p>
548Gets the transposed of this <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a>.
549<p>
550<dl compact><dt><b>Returns:</b></dt><dd>The transposed of this FMMatrix. </dd></dl>
551    </td>
552  </tr>
553</table>
554<hr>The documentation for this class was generated from the following file:<ul>
555<li>FMath/<a class="el" href="_f_m_matrix33_8h-source.html">FMMatrix33.h</a></ul>
556<hr size="1"><address style="align: right;"><small>Generated on Fri May 12 16:44:44 2006 for FCollada by&nbsp;
557<a href="http://www.doxygen.org/index.html">
558<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address>
559</body>
560</html>
Note: See TracBrowser for help on using the repository browser.