1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 22 span.virtual_style 23 { 24 font-size : 8pt; 25 color : white; 26 font-weight : bold; 27 background : #0a0; 28 border-left : solid 1px #0f0; 29 border-top : solid 1px #0f0; 30 border-right : solid 1px #060; 31 border-bottom : solid 1px #060; 32 padding-left : 2px; 33 padding-right : 2px; 34 } 35 36 span.protected_style 37 { 38 font-size : 8pt; 39 color : white; 40 font-weight : bold; 41 background : #444; 42 border-left : solid 1px #ccc; 43 border-top : solid 1px #ccc; 44 border-right : solid 1px #222; 45 border-bottom : solid 1px #222; 46 padding-left : 2px; 47 padding-right : 2px; 48 } 49 --></style> 50 <title>nn::math::QUAT</title> 51 </head> 52 <body> 53 <h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/math/Overview.html">math</a>::QUAT</CODE> Class</h1> 54 <h2>Syntax</h2> 55 <div class="section"> 56 <pre class="definition">class QUAT : public <a href="../../../nn/math/QUAT_/Overview.html">nn::math::QUAT_</a></pre> 57 </div> 58 <h2>Description</h2> 59 <div class="section"> 60 <p>Quaternion class.</p><!-- write here --></div> 61 <a name="typedef" id="typedef"> 62 <h2>typedef Definitions</h2> 63 <div class="section"> 64 <table class="members"> 65 <tr> 66 <td width="100" /> 67 <th> 68 <a href="../../../nn/math/QUAT/self_type.html"><CODE>self_type</CODE></a> 69 </th> 70 <td>This class's type.</td> 71 </tr> 72 <tr> 73 <td width="100" /> 74 <th> 75 <a href="../../../nn/math/QUAT/value_type.html"><CODE>value_type</CODE></a> 76 </th> 77 <td>The type of this class's elements.</td> 78 </tr> </table> 79 </div> 80 </a> <a name="function" id="function"> 81 <h2>Member Functions</h2> 82 <div class="section"> 83 <table class="members"> 84 <tr> 85 <th class="category" colspan="3">Creation</th> 86 </tr> 87 <tr> 88 <td width="100"> </td> 89 <th> 90 <a href="../../../nn/math/QUAT/QUAT.html"><CODE>QUAT</CODE></a> 91 </th> 92 <td>Constructor.</td> 93 </tr> 94 <tr> 95 <th class="category" colspan="3">Conversions</th> 96 </tr> 97 <tr> 98 <td width="100"> </td> 99 <th> 100 <a href="../../../nn/math/QUAT/operator f32 -2a.html"><CODE>operator f32 *</CODE></a> 101 </th> 102 <td>Casts to an <CODE>f32</CODE>-type value.</td> 103 </tr> 104 <tr> 105 <td width="100"> </td> 106 <th> 107 <a href="../../../nn/math/QUAT/operator const f32 -2a.html"><CODE>operator const f32 *</CODE></a> 108 </th> 109 <td>Casts to an <CODE>f32</CODE>-type value.</td> 110 </tr> 111 <tr> 112 <th class="category" colspan="3">Operators</th> 113 </tr> 114 <tr> 115 <td width="100"> </td> 116 <th> 117 <a href="../../../nn/math/QUAT/operator+=.html"><CODE>operator+=</CODE></a> 118 </th> 119<td>Assigns the values after quaternion addition.</td> 120 </tr> 121 <tr> 122 <td width="100"> </td> 123 <th> 124 <a href="../../../nn/math/QUAT/operator-2d=.html"><CODE>operator-=</CODE></a> 125 </th> 126<td>Assigns the values after quaternion subtraction.</td> 127 </tr> 128 <tr> 129 <td width="100"> </td> 130 <th> 131 <a href="../../../nn/math/QUAT/operator-2a=.html"><CODE>operator*=</CODE></a> 132 </th> 133<td>Assigns the values after quaternion multiplication.</td> 134 </tr> 135 <tr> 136 <td width="100"> </td> 137 <th> 138 <a href="../../../nn/math/QUAT/operator-2f=.html"><CODE>operator/=</CODE></a> 139 </th> 140<td>Assigns the values after quaternion division.</td> 141 </tr> 142 <tr> 143 <td width="100"> </td> 144 <th> 145 <a href="../../../nn/math/QUAT/operator+.html"><CODE>operator+</CODE></a> 146 </th> 147<td>Returns its own quaternion.</td> 148 </tr> 149 <tr> 150 <td width="100"> </td> 151 <th> 152 <a href="../../../nn/math/QUAT/operator-2d.html"><CODE>operator-</CODE></a> 153 </th> 154<td>Returns the conjugate of the quaternion.</td> 155 </tr> 156 <tr> 157 <td width="100"> </td> 158 <th> 159 <a href="../../../nn/math/QUAT/operator-2a.html"><CODE>operator *</CODE></a> 160 </th> 161<td>Returns the result of quaternion multiplication.</td> 162 </tr> 163 <tr> 164 <td width="100"> </td> 165 <th> 166 <a href="../../../nn/math/QUAT/operator-2f.html"><CODE>operator/</CODE></a> 167 </th> 168<td>Returns the result of quaternion division.</td> 169 </tr> 170 <tr> 171 <td width="100"> </td> 172 <th> 173 <a href="../../../nn/math/QUAT/operator==.html"><CODE>operator==</CODE></a> 174 </th> 175 <td>Returns <CODE>TRUE</CODE> if the values are equal.</td> 176 </tr> 177 <tr> 178 <td width="100"> </td> 179 <th> 180 <a href="../../../nn/math/QUAT/operator!=.html"><CODE>operator!=</CODE></a> 181 </th> 182 <td>Returns <CODE>TRUE</CODE> if the values are not equal.</td> 183 </tr> 184 <tr> 185 <th class="category" colspan="3">Other</th> 186 </tr> 187 <tr> 188 <td width="100"> </td> 189 <th> 190 <a href="../../../nn/math/QUAT/Report.html"><CODE>Report</CODE></a> 191 </th> 192 <td>Outputs the state.</td> 193 </tr> </table> 194 </div> 195 </a> 196 <h2>Class Hierarchy</h2> 197 <div class="section"> 198 <p class="hierarchy"><CODE><a href="../../../nn/math/QUAT_/Overview.html">nn::math::QUAT_</a><br /> <b>nn::math::QUAT</b></CODE> 199 </p> 200 </div> 201 <h2>Revision History</h2> 202 <div class="section"> 203 <dl class="history"> 204 <dt>2012/04/13</dt> 205 <dd>Initial version.<br /> 206 </dd> 207 </dl> 208 </div> 209 <hr><p>CONFIDENTIAL</p></body> 210</html>