TheAlgorithms-C/de/d58/structquaternion__.html
2021-10-25 19:34:27 +00:00

164 lines
9.6 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Algorithms_in_C: quaternion_ Struct Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML/MathJax.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Algorithms_in_C<span id="projectnumber">&#160;1.0.0</span>
</div>
<div id="projectbrief">Set of algorithms implemented in C.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('../../',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('de/d58/structquaternion__.html','../../'); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-attribs">Data Fields</a> </div>
<div class="headertitle"><div class="title">quaternion_ Struct Reference<div class="ingroups"><a class="el" href="../../de/d5a/group__quaternions.html">Library for 3D Vectors &amp; Quaternions</a> &raquo; <a class="el" href="../../dc/d9a/group__quats.html">3D Quaternion operations</a></div></div></div>
</div><!--header-->
<div class="contents">
<p>a Quaternion type represented using a scalar \(w\) or \(q_0\) and a 3D vector \(\left(q_1,q_2,q_3\right)\)
<a href="../../de/d58/structquaternion__.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="../../d0/dc7/geometry__datatypes_8h_source.html">geometry_datatypes.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for quaternion_:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../dd/deb/structquaternion____coll__graph.svg" width="103" height="127"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a8f4ba16bbebe066cfb2479c4db32427e"><td class="memItemLeft" ><a id="a8f4ba16bbebe066cfb2479c4db32427e" name="a8f4ba16bbebe066cfb2479c4db32427e"></a>
union {</td></tr>
<tr class="memitem:abf7117ed25aceacb13c85d411f09230a"><td class="memItemLeft" >
&#160;&#160;&#160;float&#160;&#160;&#160;<b>w</b></td></tr>
<tr class="memdesc:abf7117ed25aceacb13c85d411f09230a"><td class="mdescLeft">&#160;</td><td class="mdescRight">real part of quaternion <br /></td></tr>
<tr class="separator:abf7117ed25aceacb13c85d411f09230a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc73033db5151e631425e111fe3a56b3"><td class="memItemLeft" >
&#160;&#160;&#160;float&#160;&#160;&#160;<b>q0</b></td></tr>
<tr class="memdesc:acc73033db5151e631425e111fe3a56b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">real part of quaternion <br /></td></tr>
<tr class="separator:acc73033db5151e631425e111fe3a56b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f4ba16bbebe066cfb2479c4db32427e"><td class="memItemLeft" valign="top">};&#160;</td><td class="memItemRight" valign="bottom"></td></tr>
<tr class="memdesc:a8f4ba16bbebe066cfb2479c4db32427e"><td class="mdescLeft">&#160;</td><td class="mdescRight">dual part of quaternion <br /></td></tr>
<tr class="separator:a8f4ba16bbebe066cfb2479c4db32427e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d66408dc698aaf4e2828dc13b0b5b4c"><td class="memItemLeft" ><a id="a2d66408dc698aaf4e2828dc13b0b5b4c" name="a2d66408dc698aaf4e2828dc13b0b5b4c"></a>
union {</td></tr>
<tr class="memitem:af66804aa3800c357db79722e8589e2b1"><td class="memItemLeft" >
&#160;&#160;&#160;<a class="el" href="../../de/d7b/group__vec__3d.html#gaf9ee870d4922e488bdd3e7262485c270">vec_3d</a>&#160;&#160;&#160;<b>dual</b></td></tr>
<tr class="memdesc:af66804aa3800c357db79722e8589e2b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">can be a 3D vector <br /></td></tr>
<tr class="separator:af66804aa3800c357db79722e8589e2b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5ea00d479ff5d121647ef390247adff"><td class="memItemLeft" ><a id="ad5ea00d479ff5d121647ef390247adff" name="ad5ea00d479ff5d121647ef390247adff"></a>
&#160;&#160;&#160;struct {</td></tr>
<tr class="memitem:aef5c4def5b8aea694a16bb7761b703aa"><td class="memItemLeft" >
&#160;&#160;&#160;&#160;&#160;&#160;float&#160;&#160;&#160;<b>q1</b></td></tr>
<tr class="separator:aef5c4def5b8aea694a16bb7761b703aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a522d345c43487e07df732f7e91d17c"><td class="memItemLeft" >
&#160;&#160;&#160;&#160;&#160;&#160;float&#160;&#160;&#160;<b>q2</b></td></tr>
<tr class="separator:a6a522d345c43487e07df732f7e91d17c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04270b6f015287ed3d1abafd447fff93"><td class="memItemLeft" >
&#160;&#160;&#160;&#160;&#160;&#160;float&#160;&#160;&#160;<b>q3</b></td></tr>
<tr class="separator:a04270b6f015287ed3d1abafd447fff93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5ea00d479ff5d121647ef390247adff"><td class="memItemLeft" valign="top">&#160;&#160;&#160;}&#160;</td><td class="memItemRight" valign="bottom"></td></tr>
<tr class="memdesc:ad5ea00d479ff5d121647ef390247adff"><td class="mdescLeft">&#160;</td><td class="mdescRight">or individual values <br /></td></tr>
<tr class="separator:ad5ea00d479ff5d121647ef390247adff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d66408dc698aaf4e2828dc13b0b5b4c"><td class="memItemLeft" valign="top">};&#160;</td><td class="memItemRight" valign="bottom"></td></tr>
<tr class="separator:a2d66408dc698aaf4e2828dc13b0b5b4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >a Quaternion type represented using a scalar \(w\) or \(q_0\) and a 3D vector \(\left(q_1,q_2,q_3\right)\) </p>
</div><hr/>The documentation for this struct was generated from the following file:<ul>
<li>geometry/<a class="el" href="../../d0/dc7/geometry__datatypes_8h_source.html">geometry_datatypes.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../de/d58/structquaternion__.html">quaternion_</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.2 </li>
</ul>
</div>
</body>
</html>