1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
---|
2 | <html xmlns="http://www.w3.org/1999/xhtml">
|
---|
3 | <head>
|
---|
4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
---|
5 | <meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
---|
6 | <meta name="generator" content="Doxygen 1.8.9.1"/>
|
---|
7 | <title>Flair: flair::core::Euler Class Reference</title>
|
---|
8 | <link href="tabs.css" rel="stylesheet" type="text/css"/>
|
---|
9 | <script type="text/javascript" src="jquery.js"></script>
|
---|
10 | <script type="text/javascript" src="dynsections.js"></script>
|
---|
11 | <link href="navtree.css" rel="stylesheet" type="text/css"/>
|
---|
12 | <script type="text/javascript" src="resize.js"></script>
|
---|
13 | <script type="text/javascript" src="navtreedata.js"></script>
|
---|
14 | <script type="text/javascript" src="navtree.js"></script>
|
---|
15 | <script type="text/javascript">
|
---|
16 | $(document).ready(initResizable);
|
---|
17 | $(window).load(resizeHeight);
|
---|
18 | </script>
|
---|
19 | <link href="search/search.css" rel="stylesheet" type="text/css"/>
|
---|
20 | <script type="text/javascript" src="search/searchdata.js"></script>
|
---|
21 | <script type="text/javascript" src="search/search.js"></script>
|
---|
22 | <script type="text/javascript">
|
---|
23 | $(document).ready(function() { init_search(); });
|
---|
24 | </script>
|
---|
25 | <link href="doxygen.css" rel="stylesheet" type="text/css" />
|
---|
26 | </head>
|
---|
27 | <body>
|
---|
28 | <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
---|
29 | <div id="titlearea">
|
---|
30 | <table cellspacing="0" cellpadding="0">
|
---|
31 | <tbody>
|
---|
32 | <tr style="height: 56px;">
|
---|
33 | <td id="projectlogo"><img alt="Logo" src="logo_hds.png"/></td>
|
---|
34 | <td style="padding-left: 0.5em;">
|
---|
35 | <div id="projectname">Flair
|
---|
36 | </div>
|
---|
37 | <div id="projectbrief">Framework Libre Air</div>
|
---|
38 | </td>
|
---|
39 | </tr>
|
---|
40 | </tbody>
|
---|
41 | </table>
|
---|
42 | </div>
|
---|
43 | <!-- end header part -->
|
---|
44 | <!-- Generated by Doxygen 1.8.9.1 -->
|
---|
45 | <script type="text/javascript">
|
---|
46 | var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
---|
47 | </script>
|
---|
48 | <div id="navrow1" class="tabs">
|
---|
49 | <ul class="tablist">
|
---|
50 | <li><a href="index.html"><span>Main Page</span></a></li>
|
---|
51 | <li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
---|
52 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
---|
53 | <li><a href="files.html"><span>Files</span></a></li>
|
---|
54 | <li>
|
---|
55 | <div id="MSearchBox" class="MSearchBoxInactive">
|
---|
56 | <span class="left">
|
---|
57 | <img id="MSearchSelect" src="search/mag_sel.png"
|
---|
58 | onmouseover="return searchBox.OnSearchSelectShow()"
|
---|
59 | onmouseout="return searchBox.OnSearchSelectHide()"
|
---|
60 | alt=""/>
|
---|
61 | <input type="text" id="MSearchField" value="Search" accesskey="S"
|
---|
62 | onfocus="searchBox.OnSearchFieldFocus(true)"
|
---|
63 | onblur="searchBox.OnSearchFieldFocus(false)"
|
---|
64 | onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
---|
65 | </span><span class="right">
|
---|
66 | <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
---|
67 | </span>
|
---|
68 | </div>
|
---|
69 | </li>
|
---|
70 | </ul>
|
---|
71 | </div>
|
---|
72 | <div id="navrow2" class="tabs2">
|
---|
73 | <ul class="tablist">
|
---|
74 | <li><a href="annotated.html"><span>Class List</span></a></li>
|
---|
75 | <li><a href="classes.html"><span>Class Index</span></a></li>
|
---|
76 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
---|
77 | <li><a href="functions.html"><span>Class Members</span></a></li>
|
---|
78 | </ul>
|
---|
79 | </div>
|
---|
80 | </div><!-- top -->
|
---|
81 | <div id="side-nav" class="ui-resizable side-nav-resizable">
|
---|
82 | <div id="nav-tree">
|
---|
83 | <div id="nav-tree-contents">
|
---|
84 | <div id="nav-sync" class="sync"></div>
|
---|
85 | </div>
|
---|
86 | </div>
|
---|
87 | <div id="splitbar" style="-moz-user-select:none;"
|
---|
88 | class="ui-resizable-handle">
|
---|
89 | </div>
|
---|
90 | </div>
|
---|
91 | <script type="text/javascript">
|
---|
92 | $(document).ready(function(){initNavTree('classflair_1_1core_1_1_euler.html','');});
|
---|
93 | </script>
|
---|
94 | <div id="doc-content">
|
---|
95 | <!-- window showing the filter options -->
|
---|
96 | <div id="MSearchSelectWindow"
|
---|
97 | onmouseover="return searchBox.OnSearchSelectShow()"
|
---|
98 | onmouseout="return searchBox.OnSearchSelectHide()"
|
---|
99 | onkeydown="return searchBox.OnSearchSelectKey(event)">
|
---|
100 | </div>
|
---|
101 |
|
---|
102 | <!-- iframe showing the search results (closed by default) -->
|
---|
103 | <div id="MSearchResultsWindow">
|
---|
104 | <iframe src="javascript:void(0)" frameborder="0"
|
---|
105 | name="MSearchResults" id="MSearchResults">
|
---|
106 | </iframe>
|
---|
107 | </div>
|
---|
108 |
|
---|
109 | <div class="header">
|
---|
110 | <div class="summary">
|
---|
111 | <a href="#pub-methods">Public Member Functions</a> |
|
---|
112 | <a href="#pub-static-methods">Static Public Member Functions</a> |
|
---|
113 | <a href="#pub-attribs">Public Attributes</a> |
|
---|
114 | <a href="classflair_1_1core_1_1_euler-members.html">List of all members</a> </div>
|
---|
115 | <div class="headertitle">
|
---|
116 | <div class="title">flair::core::Euler Class Reference</div> </div>
|
---|
117 | </div><!--header-->
|
---|
118 | <div class="contents">
|
---|
119 |
|
---|
120 | <p>Class defining euler angles.
|
---|
121 | <a href="classflair_1_1core_1_1_euler.html#details">More...</a></p>
|
---|
122 |
|
---|
123 | <p><code>#include <<a class="el" href="_euler_8h_source.html">Euler.h</a>></code></p>
|
---|
124 | <table class="memberdecls">
|
---|
125 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
---|
126 | Public Member Functions</h2></td></tr>
|
---|
127 | <tr class="memitem:ac7711913e4457e7bbcfdfc1d45a0f27a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_euler.html#ac7711913e4457e7bbcfdfc1d45a0f27a">Euler</a> (float <a class="el" href="classflair_1_1core_1_1_euler.html#ac8a4196794431adbbd706320162fc7e5">roll</a>=0, float <a class="el" href="classflair_1_1core_1_1_euler.html#adad7b1293d5f4609e093e94eebd45860">pitch</a>=0, float <a class="el" href="classflair_1_1core_1_1_euler.html#a27ddef192f8f4c5444ba5fdf63cc0668">yaw</a>=0)</td></tr>
|
---|
128 | <tr class="memdesc:ac7711913e4457e7bbcfdfc1d45a0f27a"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#ac7711913e4457e7bbcfdfc1d45a0f27a">More...</a><br /></td></tr>
|
---|
129 | <tr class="separator:ac7711913e4457e7bbcfdfc1d45a0f27a"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
130 | <tr class="memitem:a3ccf90d1ddac3544d97ae79e86b9dc46"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_euler.html#a3ccf90d1ddac3544d97ae79e86b9dc46">~Euler</a> ()</td></tr>
|
---|
131 | <tr class="memdesc:a3ccf90d1ddac3544d97ae79e86b9dc46"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a3ccf90d1ddac3544d97ae79e86b9dc46">More...</a><br /></td></tr>
|
---|
132 | <tr class="separator:a3ccf90d1ddac3544d97ae79e86b9dc46"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
133 | <tr class="memitem:a04ceb304088ab462b27d19df7c61720b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_euler.html#a04ceb304088ab462b27d19df7c61720b">ToQuaternion</a> (<a class="el" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> &quaternion) const </td></tr>
|
---|
134 | <tr class="memdesc:a04ceb304088ab462b27d19df7c61720b"><td class="mdescLeft"> </td><td class="mdescRight">x axis rotation <a href="#a04ceb304088ab462b27d19df7c61720b">More...</a><br /></td></tr>
|
---|
135 | <tr class="separator:a04ceb304088ab462b27d19df7c61720b"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
136 | <tr class="memitem:ac3a3c125a0beb255ce7646748d540628"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_euler.html#ac3a3c125a0beb255ce7646748d540628">ToQuaternion</a> (void) const </td></tr>
|
---|
137 | <tr class="memdesc:ac3a3c125a0beb255ce7646748d540628"><td class="mdescLeft"> </td><td class="mdescRight">Convert to quaternion. <a href="#ac3a3c125a0beb255ce7646748d540628">More...</a><br /></td></tr>
|
---|
138 | <tr class="separator:ac3a3c125a0beb255ce7646748d540628"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
139 | <tr class="memitem:aefee0889a00c65883b6aeb3b3a7b352d"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_euler.html#aefee0889a00c65883b6aeb3b3a7b352d">YawDistanceFrom</a> (float angle) const </td></tr>
|
---|
140 | <tr class="memdesc:aefee0889a00c65883b6aeb3b3a7b352d"><td class="mdescLeft"> </td><td class="mdescRight">Compute yaw distance. <a href="#aefee0889a00c65883b6aeb3b3a7b352d">More...</a><br /></td></tr>
|
---|
141 | <tr class="separator:aefee0889a00c65883b6aeb3b3a7b352d"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
142 | <tr class="memitem:a50024bde247a8aebe5c5495e85c47261"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a50024bde247a8aebe5c5495e85c47261"></a>
|
---|
143 | <a class="el" href="classflair_1_1core_1_1_euler.html">Euler</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classflair_1_1core_1_1_euler.html">Euler</a> &euler)</td></tr>
|
---|
144 | <tr class="separator:a50024bde247a8aebe5c5495e85c47261"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
145 | </table><table class="memberdecls">
|
---|
146 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
|
---|
147 | Static Public Member Functions</h2></td></tr>
|
---|
148 | <tr class="memitem:a95f5500038266a9ae4263505244220e5"><td class="memItemLeft" align="right" valign="top">static float </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_euler.html#a95f5500038266a9ae4263505244220e5">ToDegree</a> (float radianValue)</td></tr>
|
---|
149 | <tr class="memdesc:a95f5500038266a9ae4263505244220e5"><td class="mdescLeft"> </td><td class="mdescRight">Convert from radian to degree. <a href="#a95f5500038266a9ae4263505244220e5">More...</a><br /></td></tr>
|
---|
150 | <tr class="separator:a95f5500038266a9ae4263505244220e5"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
151 | <tr class="memitem:a57de797815ca706d5d5eca0adc1b1ffb"><td class="memItemLeft" align="right" valign="top">static float </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_euler.html#a57de797815ca706d5d5eca0adc1b1ffb">ToRadian</a> (float degreeValue)</td></tr>
|
---|
152 | <tr class="memdesc:a57de797815ca706d5d5eca0adc1b1ffb"><td class="mdescLeft"> </td><td class="mdescRight">Convert from degree to radian. <a href="#a57de797815ca706d5d5eca0adc1b1ffb">More...</a><br /></td></tr>
|
---|
153 | <tr class="separator:a57de797815ca706d5d5eca0adc1b1ffb"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
154 | </table><table class="memberdecls">
|
---|
155 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
|
---|
156 | Public Attributes</h2></td></tr>
|
---|
157 | <tr class="memitem:ac8a4196794431adbbd706320162fc7e5"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_euler.html#ac8a4196794431adbbd706320162fc7e5">roll</a></td></tr>
|
---|
158 | <tr class="memdesc:ac8a4196794431adbbd706320162fc7e5"><td class="mdescLeft"> </td><td class="mdescRight">roll value <a href="#ac8a4196794431adbbd706320162fc7e5">More...</a><br /></td></tr>
|
---|
159 | <tr class="separator:ac8a4196794431adbbd706320162fc7e5"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
160 | <tr class="memitem:adad7b1293d5f4609e093e94eebd45860"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_euler.html#adad7b1293d5f4609e093e94eebd45860">pitch</a></td></tr>
|
---|
161 | <tr class="memdesc:adad7b1293d5f4609e093e94eebd45860"><td class="mdescLeft"> </td><td class="mdescRight">pitch value <a href="#adad7b1293d5f4609e093e94eebd45860">More...</a><br /></td></tr>
|
---|
162 | <tr class="separator:adad7b1293d5f4609e093e94eebd45860"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
163 | <tr class="memitem:a27ddef192f8f4c5444ba5fdf63cc0668"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_euler.html#a27ddef192f8f4c5444ba5fdf63cc0668">yaw</a></td></tr>
|
---|
164 | <tr class="memdesc:a27ddef192f8f4c5444ba5fdf63cc0668"><td class="mdescLeft"> </td><td class="mdescRight">yaw value <a href="#a27ddef192f8f4c5444ba5fdf63cc0668">More...</a><br /></td></tr>
|
---|
165 | <tr class="separator:a27ddef192f8f4c5444ba5fdf63cc0668"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
166 | </table>
|
---|
167 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
---|
168 | <div class="textblock"><p>Class defining euler angles. </p>
|
---|
169 | <p><a class="el" href="classflair_1_1core_1_1_euler.html" title="Class defining euler angles. ">Euler</a> angles are expressed in radians. </p>
|
---|
170 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
---|
171 | <a class="anchor" id="ac7711913e4457e7bbcfdfc1d45a0f27a"></a>
|
---|
172 | <div class="memitem">
|
---|
173 | <div class="memproto">
|
---|
174 | <table class="memname">
|
---|
175 | <tr>
|
---|
176 | <td class="memname">flair::core::Euler::Euler </td>
|
---|
177 | <td>(</td>
|
---|
178 | <td class="paramtype">float </td>
|
---|
179 | <td class="paramname"><em>roll</em> = <code>0</code>, </td>
|
---|
180 | </tr>
|
---|
181 | <tr>
|
---|
182 | <td class="paramkey"></td>
|
---|
183 | <td></td>
|
---|
184 | <td class="paramtype">float </td>
|
---|
185 | <td class="paramname"><em>pitch</em> = <code>0</code>, </td>
|
---|
186 | </tr>
|
---|
187 | <tr>
|
---|
188 | <td class="paramkey"></td>
|
---|
189 | <td></td>
|
---|
190 | <td class="paramtype">float </td>
|
---|
191 | <td class="paramname"><em>yaw</em> = <code>0</code> </td>
|
---|
192 | </tr>
|
---|
193 | <tr>
|
---|
194 | <td></td>
|
---|
195 | <td>)</td>
|
---|
196 | <td></td><td></td>
|
---|
197 | </tr>
|
---|
198 | </table>
|
---|
199 | </div><div class="memdoc">
|
---|
200 |
|
---|
201 | <p>Constructor. </p>
|
---|
202 | <p>Construct euler angles using specified values.</p>
|
---|
203 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
204 | <table class="params">
|
---|
205 | <tr><td class="paramname">roll</td><td>roll value </td></tr>
|
---|
206 | <tr><td class="paramname">pitch</td><td>pitch value </td></tr>
|
---|
207 | <tr><td class="paramname">yaw</td><td>yaw value </td></tr>
|
---|
208 | </table>
|
---|
209 | </dd>
|
---|
210 | </dl>
|
---|
211 |
|
---|
212 | </div>
|
---|
213 | </div>
|
---|
214 | <a class="anchor" id="a3ccf90d1ddac3544d97ae79e86b9dc46"></a>
|
---|
215 | <div class="memitem">
|
---|
216 | <div class="memproto">
|
---|
217 | <table class="memname">
|
---|
218 | <tr>
|
---|
219 | <td class="memname">flair::core::Euler::~Euler </td>
|
---|
220 | <td>(</td>
|
---|
221 | <td class="paramname"></td><td>)</td>
|
---|
222 | <td></td>
|
---|
223 | </tr>
|
---|
224 | </table>
|
---|
225 | </div><div class="memdoc">
|
---|
226 |
|
---|
227 | <p>Destructor. </p>
|
---|
228 |
|
---|
229 | </div>
|
---|
230 | </div>
|
---|
231 | <h2 class="groupheader">Member Function Documentation</h2>
|
---|
232 | <a class="anchor" id="a04ceb304088ab462b27d19df7c61720b"></a>
|
---|
233 | <div class="memitem">
|
---|
234 | <div class="memproto">
|
---|
235 | <table class="memname">
|
---|
236 | <tr>
|
---|
237 | <td class="memname">void flair::core::Euler::ToQuaternion </td>
|
---|
238 | <td>(</td>
|
---|
239 | <td class="paramtype"><a class="el" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> & </td>
|
---|
240 | <td class="paramname"><em>quaternion</em></td><td>)</td>
|
---|
241 | <td> const</td>
|
---|
242 | </tr>
|
---|
243 | </table>
|
---|
244 | </div><div class="memdoc">
|
---|
245 |
|
---|
246 | <p>x axis rotation </p>
|
---|
247 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
248 | <table class="params">
|
---|
249 | <tr><td class="paramname">value</td><td>rotation value in radians</td></tr>
|
---|
250 | </table>
|
---|
251 | </dd>
|
---|
252 | </dl>
|
---|
253 | <p>x axis rotation</p>
|
---|
254 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
255 | <table class="params">
|
---|
256 | <tr><td class="paramname">value</td><td>rotation value in degrees</td></tr>
|
---|
257 | </table>
|
---|
258 | </dd>
|
---|
259 | </dl>
|
---|
260 | <p>y axis rotation</p>
|
---|
261 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
262 | <table class="params">
|
---|
263 | <tr><td class="paramname">value</td><td>rotation value in radians</td></tr>
|
---|
264 | </table>
|
---|
265 | </dd>
|
---|
266 | </dl>
|
---|
267 | <p>y axis rotation</p>
|
---|
268 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
269 | <table class="params">
|
---|
270 | <tr><td class="paramname">value</td><td>rotation value in degrees</td></tr>
|
---|
271 | </table>
|
---|
272 | </dd>
|
---|
273 | </dl>
|
---|
274 | <p>z axis rotation</p>
|
---|
275 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
276 | <table class="params">
|
---|
277 | <tr><td class="paramname">value</td><td>rotation value in radians</td></tr>
|
---|
278 | </table>
|
---|
279 | </dd>
|
---|
280 | </dl>
|
---|
281 | <p>z axis rotation</p>
|
---|
282 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
283 | <table class="params">
|
---|
284 | <tr><td class="paramname">value</td><td>rotation value in degrees</td></tr>
|
---|
285 | </table>
|
---|
286 | </dd>
|
---|
287 | </dl>
|
---|
288 | <p>Convert to quaternion</p>
|
---|
289 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
290 | <table class="params">
|
---|
291 | <tr><td class="paramname">quaternion</td><td>output quaternion </td></tr>
|
---|
292 | </table>
|
---|
293 | </dd>
|
---|
294 | </dl>
|
---|
295 |
|
---|
296 | </div>
|
---|
297 | </div>
|
---|
298 | <a class="anchor" id="ac3a3c125a0beb255ce7646748d540628"></a>
|
---|
299 | <div class="memitem">
|
---|
300 | <div class="memproto">
|
---|
301 | <table class="memname">
|
---|
302 | <tr>
|
---|
303 | <td class="memname"><a class="el" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> flair::core::Euler::ToQuaternion </td>
|
---|
304 | <td>(</td>
|
---|
305 | <td class="paramtype">void </td>
|
---|
306 | <td class="paramname"></td><td>)</td>
|
---|
307 | <td> const</td>
|
---|
308 | </tr>
|
---|
309 | </table>
|
---|
310 | </div><div class="memdoc">
|
---|
311 |
|
---|
312 | <p>Convert to quaternion. </p>
|
---|
313 | <dl class="section return"><dt>Returns</dt><dd>quaternion </dd></dl>
|
---|
314 |
|
---|
315 | </div>
|
---|
316 | </div>
|
---|
317 | <a class="anchor" id="a95f5500038266a9ae4263505244220e5"></a>
|
---|
318 | <div class="memitem">
|
---|
319 | <div class="memproto">
|
---|
320 | <table class="mlabels">
|
---|
321 | <tr>
|
---|
322 | <td class="mlabels-left">
|
---|
323 | <table class="memname">
|
---|
324 | <tr>
|
---|
325 | <td class="memname">static float flair::core::Euler::ToDegree </td>
|
---|
326 | <td>(</td>
|
---|
327 | <td class="paramtype">float </td>
|
---|
328 | <td class="paramname"><em>radianValue</em></td><td>)</td>
|
---|
329 | <td></td>
|
---|
330 | </tr>
|
---|
331 | </table>
|
---|
332 | </td>
|
---|
333 | <td class="mlabels-right">
|
---|
334 | <span class="mlabels"><span class="mlabel">static</span></span> </td>
|
---|
335 | </tr>
|
---|
336 | </table>
|
---|
337 | </div><div class="memdoc">
|
---|
338 |
|
---|
339 | <p>Convert from radian to degree. </p>
|
---|
340 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
341 | <table class="params">
|
---|
342 | <tr><td class="paramname">radianValue</td><td>value in radian</td></tr>
|
---|
343 | </table>
|
---|
344 | </dd>
|
---|
345 | </dl>
|
---|
346 | <dl class="section return"><dt>Returns</dt><dd>value in degree </dd></dl>
|
---|
347 |
|
---|
348 | </div>
|
---|
349 | </div>
|
---|
350 | <a class="anchor" id="a57de797815ca706d5d5eca0adc1b1ffb"></a>
|
---|
351 | <div class="memitem">
|
---|
352 | <div class="memproto">
|
---|
353 | <table class="mlabels">
|
---|
354 | <tr>
|
---|
355 | <td class="mlabels-left">
|
---|
356 | <table class="memname">
|
---|
357 | <tr>
|
---|
358 | <td class="memname">static float flair::core::Euler::ToRadian </td>
|
---|
359 | <td>(</td>
|
---|
360 | <td class="paramtype">float </td>
|
---|
361 | <td class="paramname"><em>degreeValue</em></td><td>)</td>
|
---|
362 | <td></td>
|
---|
363 | </tr>
|
---|
364 | </table>
|
---|
365 | </td>
|
---|
366 | <td class="mlabels-right">
|
---|
367 | <span class="mlabels"><span class="mlabel">static</span></span> </td>
|
---|
368 | </tr>
|
---|
369 | </table>
|
---|
370 | </div><div class="memdoc">
|
---|
371 |
|
---|
372 | <p>Convert from degree to radian. </p>
|
---|
373 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
374 | <table class="params">
|
---|
375 | <tr><td class="paramname">degreeValue</td><td>value in degree</td></tr>
|
---|
376 | </table>
|
---|
377 | </dd>
|
---|
378 | </dl>
|
---|
379 | <dl class="section return"><dt>Returns</dt><dd>value in radian </dd></dl>
|
---|
380 |
|
---|
381 | </div>
|
---|
382 | </div>
|
---|
383 | <a class="anchor" id="aefee0889a00c65883b6aeb3b3a7b352d"></a>
|
---|
384 | <div class="memitem">
|
---|
385 | <div class="memproto">
|
---|
386 | <table class="memname">
|
---|
387 | <tr>
|
---|
388 | <td class="memname">float flair::core::Euler::YawDistanceFrom </td>
|
---|
389 | <td>(</td>
|
---|
390 | <td class="paramtype">float </td>
|
---|
391 | <td class="paramname"><em>angle</em></td><td>)</td>
|
---|
392 | <td> const</td>
|
---|
393 | </tr>
|
---|
394 | </table>
|
---|
395 | </div><div class="memdoc">
|
---|
396 |
|
---|
397 | <p>Compute yaw distance. </p>
|
---|
398 | <p>Compute yaw distance from given angle. This is the minimum distance.</p>
|
---|
399 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
400 | <table class="params">
|
---|
401 | <tr><td class="paramname">angle</td><td>starting angle</td></tr>
|
---|
402 | </table>
|
---|
403 | </dd>
|
---|
404 | </dl>
|
---|
405 | <dl class="section return"><dt>Returns</dt><dd>value distance in radian </dd></dl>
|
---|
406 |
|
---|
407 | </div>
|
---|
408 | </div>
|
---|
409 | <h2 class="groupheader">Member Data Documentation</h2>
|
---|
410 | <a class="anchor" id="ac8a4196794431adbbd706320162fc7e5"></a>
|
---|
411 | <div class="memitem">
|
---|
412 | <div class="memproto">
|
---|
413 | <table class="memname">
|
---|
414 | <tr>
|
---|
415 | <td class="memname">float flair::core::Euler::roll</td>
|
---|
416 | </tr>
|
---|
417 | </table>
|
---|
418 | </div><div class="memdoc">
|
---|
419 |
|
---|
420 | <p>roll value </p>
|
---|
421 |
|
---|
422 | </div>
|
---|
423 | </div>
|
---|
424 | <a class="anchor" id="adad7b1293d5f4609e093e94eebd45860"></a>
|
---|
425 | <div class="memitem">
|
---|
426 | <div class="memproto">
|
---|
427 | <table class="memname">
|
---|
428 | <tr>
|
---|
429 | <td class="memname">float flair::core::Euler::pitch</td>
|
---|
430 | </tr>
|
---|
431 | </table>
|
---|
432 | </div><div class="memdoc">
|
---|
433 |
|
---|
434 | <p>pitch value </p>
|
---|
435 |
|
---|
436 | </div>
|
---|
437 | </div>
|
---|
438 | <a class="anchor" id="a27ddef192f8f4c5444ba5fdf63cc0668"></a>
|
---|
439 | <div class="memitem">
|
---|
440 | <div class="memproto">
|
---|
441 | <table class="memname">
|
---|
442 | <tr>
|
---|
443 | <td class="memname">float flair::core::Euler::yaw</td>
|
---|
444 | </tr>
|
---|
445 | </table>
|
---|
446 | </div><div class="memdoc">
|
---|
447 |
|
---|
448 | <p>yaw value </p>
|
---|
449 |
|
---|
450 | </div>
|
---|
451 | </div>
|
---|
452 | </div><!-- contents -->
|
---|
453 | </div><!-- doc-content -->
|
---|
454 | <!-- start footer part -->
|
---|
455 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
---|
456 | <ul>
|
---|
457 | <li class="navelem"><a class="el" href="namespaceflair.html">flair</a></li><li class="navelem"><a class="el" href="namespaceflair_1_1core.html">core</a></li><li class="navelem"><a class="el" href="classflair_1_1core_1_1_euler.html">Euler</a></li>
|
---|
458 | <li class="footer">Generated on Mon Aug 29 2016 15:26:01 for Flair by
|
---|
459 | <a href="http://www.doxygen.org/index.html">
|
---|
460 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
|
---|
461 | </ul>
|
---|
462 | </div>
|
---|
463 | </body>
|
---|
464 | </html>
|
---|