2020-08-27 03:28:38 +08:00
<!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" / >
2021-10-26 03:34:27 +08:00
< meta http-equiv = "X-UA-Compatible" content = "IE=11" / >
< meta name = "generator" content = "Doxygen 1.9.2" / >
2020-08-27 03:28:38 +08:00
< 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" >
2021-10-26 03:34:27 +08:00
MathJax.Hub.Config({
extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
jax: ["input/TeX","output/HTML-CSS"],
2020-08-27 03:28:38 +08:00
});
< / 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;" >
2021-10-26 03:34:27 +08:00
< div id = "projectname" > Algorithms_in_C< span id = "projectnumber" >   1.0.0< / span >
2020-08-27 03:28:38 +08:00
< / div >
< div id = "projectbrief" > Set of algorithms implemented in C.< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2021-10-26 03:34:27 +08:00
<!-- Generated by Doxygen 1.9.2 -->
2020-08-27 03:28:38 +08:00
< script type = "text/javascript" >
2021-10-26 03:34:27 +08:00
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search",'Search','.html');
2020-08-27 03:28:38 +08:00
/* @license-end */
< / script >
< script type = "text/javascript" src = "../../menudata.js" > < / script >
< script type = "text/javascript" src = "../../menu.js" > < / script >
< script type = "text/javascript" >
2021-10-26 03:34:27 +08:00
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
2020-08-27 03:28:38 +08:00
$(function() {
initMenu('../../',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
2021-10-26 03:34:27 +08:00
/* @license-end */
< / script >
2020-08-27 03:28:38 +08:00
< 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" >
2021-10-26 03:34:27 +08:00
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
2020-08-27 03:28:38 +08:00
$(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 >
2021-10-26 03:34:27 +08:00
< 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 & Quaternions< / a > » < a class = "el" href = "../../dc/d9a/group__quats.html" > 3D Quaternion operations< / a > < / div > < / div > < / div >
2020-08-27 03:28:38 +08:00
< / 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 < < a class = "el" href = "../../d0/dc7/geometry__datatypes_8h_source.html" > geometry_datatypes.h< / a > > < / code > < / p >
< div class = "dynheader" >
Collaboration diagram for quaternion_:< / div >
< div class = "dyncontent" >
2021-10-26 03:34:27 +08:00
< 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 >
2020-08-27 03:28:38 +08:00
< / div >
< center > < span class = "legend" > [< a target = "top" href = "../../graph_legend.html" > legend< / a > ]< / span > < / center > < / div >
< table class = "memberdecls" >
2021-10-26 03:34:27 +08:00
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a id = "pub-attribs" name = "pub-attribs" > < / a >
2020-08-27 03:28:38 +08:00
Data Fields< / h2 > < / td > < / tr >
2021-10-26 03:34:27 +08:00
< tr class = "memitem:a8f4ba16bbebe066cfb2479c4db32427e" > < td class = "memItemLeft" > < a id = "a8f4ba16bbebe066cfb2479c4db32427e" name = "a8f4ba16bbebe066cfb2479c4db32427e" > < / a >
2020-08-27 03:28:38 +08:00
union {< / td > < / tr >
< tr class = "memitem:abf7117ed25aceacb13c85d411f09230a" > < td class = "memItemLeft" >
2021-10-26 03:34:27 +08:00
      float      < b > w< / b > < / td > < / tr >
2020-08-27 03:28:38 +08:00
< tr class = "memdesc:abf7117ed25aceacb13c85d411f09230a" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > real part of quaternion < br / > < / td > < / tr >
< tr class = "separator:abf7117ed25aceacb13c85d411f09230a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:acc73033db5151e631425e111fe3a56b3" > < td class = "memItemLeft" >
2021-10-26 03:34:27 +08:00
      float      < b > q0< / b > < / td > < / tr >
2020-08-27 03:28:38 +08:00
< tr class = "memdesc:acc73033db5151e631425e111fe3a56b3" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > real part of quaternion < br / > < / td > < / tr >
< tr class = "separator:acc73033db5151e631425e111fe3a56b3" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a8f4ba16bbebe066cfb2479c4db32427e" > < td class = "memItemLeft" valign = "top" > };  < / td > < td class = "memItemRight" valign = "bottom" > < / td > < / tr >
< tr class = "memdesc:a8f4ba16bbebe066cfb2479c4db32427e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > dual part of quaternion < br / > < / td > < / tr >
< tr class = "separator:a8f4ba16bbebe066cfb2479c4db32427e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2021-10-26 03:34:27 +08:00
< tr class = "memitem:a2d66408dc698aaf4e2828dc13b0b5b4c" > < td class = "memItemLeft" > < a id = "a2d66408dc698aaf4e2828dc13b0b5b4c" name = "a2d66408dc698aaf4e2828dc13b0b5b4c" > < / a >
2020-08-27 03:28:38 +08:00
union {< / td > < / tr >
< tr class = "memitem:af66804aa3800c357db79722e8589e2b1" > < td class = "memItemLeft" >
2021-10-26 03:34:27 +08:00
      < a class = "el" href = "../../de/d7b/group__vec__3d.html#gaf9ee870d4922e488bdd3e7262485c270" > vec_3d< / a >       < b > dual< / b > < / td > < / tr >
2020-08-27 03:28:38 +08:00
< tr class = "memdesc:af66804aa3800c357db79722e8589e2b1" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > can be a 3D vector < br / > < / td > < / tr >
< tr class = "separator:af66804aa3800c357db79722e8589e2b1" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2021-10-26 03:34:27 +08:00
< tr class = "memitem:ad5ea00d479ff5d121647ef390247adff" > < td class = "memItemLeft" > < a id = "ad5ea00d479ff5d121647ef390247adff" name = "ad5ea00d479ff5d121647ef390247adff" > < / a >
2020-08-27 03:28:38 +08:00
      struct {< / td > < / tr >
< tr class = "memitem:aef5c4def5b8aea694a16bb7761b703aa" > < td class = "memItemLeft" >
            float      < b > q1< / b > < / td > < / tr >
< tr class = "separator:aef5c4def5b8aea694a16bb7761b703aa" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a6a522d345c43487e07df732f7e91d17c" > < td class = "memItemLeft" >
            float      < b > q2< / b > < / td > < / tr >
< tr class = "separator:a6a522d345c43487e07df732f7e91d17c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a04270b6f015287ed3d1abafd447fff93" > < td class = "memItemLeft" >
            float      < b > q3< / b > < / td > < / tr >
< tr class = "separator:a04270b6f015287ed3d1abafd447fff93" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ad5ea00d479ff5d121647ef390247adff" > < td class = "memItemLeft" valign = "top" >       }  < / td > < td class = "memItemRight" valign = "bottom" > < / td > < / tr >
< tr class = "memdesc:ad5ea00d479ff5d121647ef390247adff" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > or individual values < br / > < / td > < / tr >
< tr class = "separator:ad5ea00d479ff5d121647ef390247adff" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a2d66408dc698aaf4e2828dc13b0b5b4c" > < td class = "memItemLeft" valign = "top" > };  < / td > < td class = "memItemRight" valign = "bottom" > < / td > < / tr >
< tr class = "separator:a2d66408dc698aaf4e2828dc13b0b5b4c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
2021-10-26 03:34:27 +08:00
< 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 >
2020-08-27 03:28:38 +08:00
< / 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 >
2021-10-26 03:34:27 +08:00
< 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 >
2020-08-27 03:28:38 +08:00
< / ul >
< / div >
< / body >
< / html >