diff options
Diffstat (limited to '')
-rw-r--r-- | dev/MinGfx/docs/html/point3_8h_source.html | 211 |
1 files changed, 211 insertions, 0 deletions
diff --git a/dev/MinGfx/docs/html/point3_8h_source.html b/dev/MinGfx/docs/html/point3_8h_source.html new file mode 100644 index 0000000..8c1ad76 --- /dev/null +++ b/dev/MinGfx/docs/html/point3_8h_source.html @@ -0,0 +1,211 @@ +<!-- HTML header for doxygen 1.8.9.1--> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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=9"/> +<meta name="generator" content="Doxygen 1.9.1"/> +<title>MinGfx Toolkit: src/point3.h Source File</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="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"], + jax: ["input/TeX","output/HTML-CSS"], +}); +</script> +<script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> +<link href="doxygen.css" rel="stylesheet" type="text/css" /> +<link href="customdoxygen.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 style="padding-left: 0.5em;"> + <div id="projectname">MinGfx Toolkit +  <span id="projectnumber">1.0</span> + </div> + <div id="projectbrief">A minimal library for writing cross-platform (Windows, OSX, linux) graphics programs.</div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.9.1 --> +<script type="text/javascript"> +/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ +var searchBox = new SearchBox("searchBox", "search",false,'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:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ +$(function() { + initMenu('',true,false,'search.php','Search'); + $(document).ready(function() { init_search(); }); +}); +/* @license-end */</script> +<div id="main-nav"></div> +<!-- 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 id="nav-path" class="navpath"> + <ul> +<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="headertitle"> +<div class="title">point3.h</div> </div> +</div><!--header--> +<div class="contents"> +<a href="point3_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div> +<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> This file is part of the MinGfx Project.</span></div> +<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> </span></div> +<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> Copyright (c) 2017,2018 Regents of the University of Minnesota.</span></div> +<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> All Rights Reserved.</span></div> +<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> </span></div> +<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> Original Author(s) of this File:</span></div> +<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> Dan Keefe, 2018, University of Minnesota</span></div> +<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> </span></div> +<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> Author(s) of Significant Updates/Modifications to the File:</span></div> +<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> ...</span></div> +<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> */</span></div> +<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  </div> +<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#ifndef SRC_POINT3_H_</span></div> +<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#define SRC_POINT3_H_</span></div> +<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  </div> +<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <iostream></span></div> +<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <vector></span></div> +<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  </div> +<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">namespace </span><a class="code" href="namespacemingfx.html">mingfx</a> {</div> +<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  </div> +<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="point3_8h.html#a432350d21fbc10d5e65eeeb6859511ea"> 23</a></span> <span class="preprocessor">#define MINGFX_MATH_EPSILON 1e-8</span></div> +<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div> +<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment">// forward declaration</span></div> +<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keyword">class </span>Vector3;</div> +<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div> +<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div> +<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classmingfx_1_1_point3.html"> 52</a></span> <span class="keyword">class </span><a class="code" href="classmingfx_1_1_point3.html">Point3</a> {</div> +<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="keyword">public</span>: </div> +<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classmingfx_1_1_point3.html#ae8ab322852c24c6e03bed03cac443664"> 55</a></span>  <a class="code" href="classmingfx_1_1_point3.html#ae8ab322852c24c6e03bed03cac443664">Point3</a>();</div> +<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  </div> +<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classmingfx_1_1_point3.html#a29d113f0fa37fa04a642817c680fe953"> 59</a></span>  <a class="code" href="classmingfx_1_1_point3.html#a29d113f0fa37fa04a642817c680fe953">Point3</a>(<span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_point3.html#ac409e3213620b80c868245c1f6a6eea5">x</a>, <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_point3.html#a0757315cd84f91879021d7afe18e0545">y</a>, <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_point3.html#ac463e3a3ec3edd02c86505ea6400d8e6">z</a>);</div> +<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  </div> +<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classmingfx_1_1_point3.html#a062caf579ef643b25129cc35b3dbe756"> 62</a></span>  <a class="code" href="classmingfx_1_1_point3.html#a062caf579ef643b25129cc35b3dbe756">Point3</a>(<span class="keywordtype">float</span> *p);</div> +<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  </div> +<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classmingfx_1_1_point3.html#a23534a1ce3d4466c303b9205bd21cd97"> 65</a></span>  <a class="code" href="classmingfx_1_1_point3.html#a23534a1ce3d4466c303b9205bd21cd97">Point3</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a>& p);</div> +<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  </div> +<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classmingfx_1_1_point3.html#aa55aef76986cc7424c2a535d6fd1ab7a"> 68</a></span>  <span class="keyword">virtual</span> <a class="code" href="classmingfx_1_1_point3.html#aa55aef76986cc7424c2a535d6fd1ab7a">~Point3</a>();</div> +<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  </div> +<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="classmingfx_1_1_point3.html#ab22d5cc4631f26274ada550c90d39699"> 71</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmingfx_1_1_point3.html#ab22d5cc4631f26274ada550c90d39699">operator==</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a>& p) <span class="keyword">const</span>;</div> +<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  </div> +<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classmingfx_1_1_point3.html#acccf9d3fca27174c18ada3b33209c71e"> 74</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmingfx_1_1_point3.html#acccf9d3fca27174c18ada3b33209c71e">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a>& p) <span class="keyword">const</span>;</div> +<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  </div> +<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="classmingfx_1_1_point3.html#a8e54b18bfaa39f4b7048b85c9ca43c3d"> 77</a></span>  <a class="code" href="classmingfx_1_1_point3.html">Point3</a>& <a class="code" href="classmingfx_1_1_point3.html#a8e54b18bfaa39f4b7048b85c9ca43c3d">operator=</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a>& p);</div> +<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  </div> +<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="classmingfx_1_1_point3.html#a3a586db5b58d5f1fdaddb1e33e84d566"> 80</a></span>  <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_point3.html#a3a586db5b58d5f1fdaddb1e33e84d566">operator[]</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> i) <span class="keyword">const</span>;</div> +<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  </div> +<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classmingfx_1_1_point3.html#a790468d68b6d957b22959f9078f85c3e"> 89</a></span>  <span class="keywordtype">float</span>& <a class="code" href="classmingfx_1_1_point3.html#a790468d68b6d957b22959f9078f85c3e">operator[]</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> i);</div> +<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  </div> +<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="classmingfx_1_1_point3.html#ac409e3213620b80c868245c1f6a6eea5"> 93</a></span>  <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_point3.html#ac409e3213620b80c868245c1f6a6eea5">x</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> p[0]; }</div> +<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  </div> +<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="classmingfx_1_1_point3.html#a0757315cd84f91879021d7afe18e0545"> 97</a></span>  <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_point3.html#a0757315cd84f91879021d7afe18e0545">y</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> p[1]; }</div> +<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  </div> +<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classmingfx_1_1_point3.html#ac463e3a3ec3edd02c86505ea6400d8e6"> 101</a></span>  <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_point3.html#ac463e3a3ec3edd02c86505ea6400d8e6">z</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> p[2]; }</div> +<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  </div> +<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="classmingfx_1_1_point3.html#abbf85b5749b37869f4c1b98443ebbd9e"> 104</a></span>  <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_point3.html#abbf85b5749b37869f4c1b98443ebbd9e">w</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> 1.0; }</div> +<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  </div> +<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="classmingfx_1_1_point3.html#af0557bdc07452cf335e2b7e04fc0aa3c"> 107</a></span>  <span class="keyword">const</span> <span class="keywordtype">float</span> * <a class="code" href="classmingfx_1_1_point3.html#af0557bdc07452cf335e2b7e04fc0aa3c">value_ptr</a>() <span class="keyword">const</span>;</div> +<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  </div> +<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  </div> +<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="classmingfx_1_1_point3.html#a228a1f3754b8ee82b9bb148ce183fc5b"> 113</a></span>  <a class="code" href="classmingfx_1_1_point3.html">Point3</a> <a class="code" href="classmingfx_1_1_point3.html#a228a1f3754b8ee82b9bb148ce183fc5b">Lerp</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> &b, <span class="keywordtype">float</span> alpha) <span class="keyword">const</span>;</div> +<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  </div> +<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="classmingfx_1_1_point3.html#af554773b2d7f4492a0727e8e42efe002"> 117</a></span>  <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_point3.html#af554773b2d7f4492a0727e8e42efe002">DistanceToPlane</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> &plane_origin, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &plane_normal);</div> +<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  </div> +<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="classmingfx_1_1_point3.html#ae31d5f91a03fabdf72b2fa54e177b743"> 121</a></span>  <a class="code" href="classmingfx_1_1_point3.html">Point3</a> <a class="code" href="classmingfx_1_1_point3.html#ae31d5f91a03fabdf72b2fa54e177b743">ClosestPointOnPlane</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> &plane_origin, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &plane_normal);</div> +<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  </div> +<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="classmingfx_1_1_point3.html#a9dd5396f53b7006ec4cb63abffd90a7c"> 124</a></span>  <a class="code" href="classmingfx_1_1_point3.html">Point3</a> <a class="code" href="classmingfx_1_1_point3.html#a9dd5396f53b7006ec4cb63abffd90a7c">ClosestPoint</a>(<span class="keyword">const</span> std::vector<Point3> &point_list);</div> +<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  </div> +<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  </div> +<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  </div> +<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="classmingfx_1_1_point3.html#aecb7c3137356cd4470851c54a47c7930"> 129</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a>& <a class="code" href="classmingfx_1_1_point3.html#aecb7c3137356cd4470851c54a47c7930">Origin</a>();</div> +<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  </div> +<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="classmingfx_1_1_point3.html#a9983b62979f9ac5a11efea08d9d283ed"> 132</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a>& <a class="code" href="classmingfx_1_1_point3.html#a9983b62979f9ac5a11efea08d9d283ed">Zero</a>();</div> +<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  </div> +<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="classmingfx_1_1_point3.html#a2cfcbefe652720779e0d7beff1c86ece"> 135</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a>& <a class="code" href="classmingfx_1_1_point3.html#a2cfcbefe652720779e0d7beff1c86ece">One</a>();</div> +<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  </div> +<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="classmingfx_1_1_point3.html#a206691c31872e537eefbf897603dba74"> 139</a></span>  <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> <a class="code" href="classmingfx_1_1_point3.html#a206691c31872e537eefbf897603dba74">Lerp</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> &a, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> &b, <span class="keywordtype">float</span> alpha);</div> +<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  </div> +<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  </div> +<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  </div> +<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="keyword">private</span>:</div> +<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keywordtype">float</span> p[3];</div> +<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> };</div> +<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  </div> +<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  </div> +<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="namespacemingfx.html#a53ce6bc4f4abdd3797d7af47adecbaf6"> 148</a></span> std::ostream & <a class="code" href="namespacemingfx.html#a6bc967741341f4f318a505d884192906">operator<< </a>( std::ostream &os, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> &p);</div> +<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="namespacemingfx.html#ad95e9b494b9761895d57e2b698b69afd"> 149</a></span> std::istream & <a class="code" href="namespacemingfx.html#a6eb31e6e81c6e29144799be4c9db404d">operator>> </a>( std::istream &is, <a class="code" href="classmingfx_1_1_point3.html">Point3</a> &p);</div> +<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  </div> +<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  </div> +<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> } <span class="comment">// namespace</span></div> +<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  </div> +<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <span class="preprocessor">#endif</span></div> +<div class="ttc" id="aclassmingfx_1_1_point3_html"><div class="ttname"><a href="classmingfx_1_1_point3.html">mingfx::Point3</a></div><div class="ttdoc">A 3D Point with floating point coordinates, used for storing vertices and all sorts of other 3D graph...</div><div class="ttdef"><b>Definition:</b> <a href="point3_8h_source.html#l00052">point3.h:52</a></div></div> +<div class="ttc" id="aclassmingfx_1_1_point3_html_a062caf579ef643b25129cc35b3dbe756"><div class="ttname"><a href="classmingfx_1_1_point3.html#a062caf579ef643b25129cc35b3dbe756">mingfx::Point3::Point3</a></div><div class="ttdeci">Point3(float *p)</div><div class="ttdoc">Constructs a point given a pointer to x,y,z data.</div></div> +<div class="ttc" id="aclassmingfx_1_1_point3_html_a0757315cd84f91879021d7afe18e0545"><div class="ttname"><a href="classmingfx_1_1_point3.html#a0757315cd84f91879021d7afe18e0545">mingfx::Point3::y</a></div><div class="ttdeci">float y() const</div><div class="ttdoc">Read only access to the y coordinate. Can also use my_point[1]. Use the my_point[1] = 1....</div><div class="ttdef"><b>Definition:</b> <a href="point3_8h_source.html#l00097">point3.h:97</a></div></div> +<div class="ttc" id="aclassmingfx_1_1_point3_html_a206691c31872e537eefbf897603dba74"><div class="ttname"><a href="classmingfx_1_1_point3.html#a206691c31872e537eefbf897603dba74">mingfx::Point3::Lerp</a></div><div class="ttdeci">static Point3 Lerp(const Point3 &a, const Point3 &b, float alpha)</div><div class="ttdoc">Linear interpolation between two points. Alpha=0.0 returns 'a' and alpha=1.0 returns 'b',...</div></div> +<div class="ttc" id="aclassmingfx_1_1_point3_html_a228a1f3754b8ee82b9bb148ce183fc5b"><div class="ttname"><a href="classmingfx_1_1_point3.html#a228a1f3754b8ee82b9bb148ce183fc5b">mingfx::Point3::Lerp</a></div><div class="ttdeci">Point3 Lerp(const Point3 &b, float alpha) const</div><div class="ttdoc">Linear interpolation between this point and another. Alpha=0.0 returns this point,...</div></div> +<div class="ttc" id="aclassmingfx_1_1_point3_html_a23534a1ce3d4466c303b9205bd21cd97"><div class="ttname"><a href="classmingfx_1_1_point3.html#a23534a1ce3d4466c303b9205bd21cd97">mingfx::Point3::Point3</a></div><div class="ttdeci">Point3(const Point3 &p)</div><div class="ttdoc">Copy constructor for point.</div></div> +<div class="ttc" id="aclassmingfx_1_1_point3_html_a29d113f0fa37fa04a642817c680fe953"><div class="ttname"><a href="classmingfx_1_1_point3.html#a29d113f0fa37fa04a642817c680fe953">mingfx::Point3::Point3</a></div><div class="ttdeci">Point3(float x, float y, float z)</div><div class="ttdoc">Constructs a point given (x,y,z,1), where the 1 comes from the use of homogeneous coordinates in comp...</div></div> +<div class="ttc" id="aclassmingfx_1_1_point3_html_a2cfcbefe652720779e0d7beff1c86ece"><div class="ttname"><a href="classmingfx_1_1_point3.html#a2cfcbefe652720779e0d7beff1c86ece">mingfx::Point3::One</a></div><div class="ttdeci">static const Point3 & One()</div><div class="ttdoc">(1,1,1) - a shortcut for a special point that is frequently needed</div></div> +<div class="ttc" id="aclassmingfx_1_1_point3_html_a3a586db5b58d5f1fdaddb1e33e84d566"><div class="ttname"><a href="classmingfx_1_1_point3.html#a3a586db5b58d5f1fdaddb1e33e84d566">mingfx::Point3::operator[]</a></div><div class="ttdeci">float operator[](const int i) const</div><div class="ttdoc">Read only access to the ith coordinate of the point.</div></div> +<div class="ttc" id="aclassmingfx_1_1_point3_html_a790468d68b6d957b22959f9078f85c3e"><div class="ttname"><a href="classmingfx_1_1_point3.html#a790468d68b6d957b22959f9078f85c3e">mingfx::Point3::operator[]</a></div><div class="ttdeci">float & operator[](const int i)</div><div class="ttdoc">Returns a reference to the ith coordinate of the point. Use this accessor if you wish to set the coor...</div></div> +<div class="ttc" id="aclassmingfx_1_1_point3_html_a8e54b18bfaa39f4b7048b85c9ca43c3d"><div class="ttname"><a href="classmingfx_1_1_point3.html#a8e54b18bfaa39f4b7048b85c9ca43c3d">mingfx::Point3::operator=</a></div><div class="ttdeci">Point3 & operator=(const Point3 &p)</div><div class="ttdoc">Assignment operator.</div></div> +<div class="ttc" id="aclassmingfx_1_1_point3_html_a9983b62979f9ac5a11efea08d9d283ed"><div class="ttname"><a href="classmingfx_1_1_point3.html#a9983b62979f9ac5a11efea08d9d283ed">mingfx::Point3::Zero</a></div><div class="ttdeci">static const Point3 & Zero()</div><div class="ttdoc">(0,0,0) - a shortcut for a special point that is frequently needed</div></div> +<div class="ttc" id="aclassmingfx_1_1_point3_html_a9dd5396f53b7006ec4cb63abffd90a7c"><div class="ttname"><a href="classmingfx_1_1_point3.html#a9dd5396f53b7006ec4cb63abffd90a7c">mingfx::Point3::ClosestPoint</a></div><div class="ttdeci">Point3 ClosestPoint(const std::vector< Point3 > &point_list)</div><div class="ttdoc">Given a list of points, returns the closest in the last to the current point.</div></div> +<div class="ttc" id="aclassmingfx_1_1_point3_html_aa55aef76986cc7424c2a535d6fd1ab7a"><div class="ttname"><a href="classmingfx_1_1_point3.html#aa55aef76986cc7424c2a535d6fd1ab7a">mingfx::Point3::~Point3</a></div><div class="ttdeci">virtual ~Point3()</div><div class="ttdoc">Point destructor.</div></div> +<div class="ttc" id="aclassmingfx_1_1_point3_html_ab22d5cc4631f26274ada550c90d39699"><div class="ttname"><a href="classmingfx_1_1_point3.html#ab22d5cc4631f26274ada550c90d39699">mingfx::Point3::operator==</a></div><div class="ttdeci">bool operator==(const Point3 &p) const</div><div class="ttdoc">Check for "equality", taking floating point imprecision into account.</div></div> +<div class="ttc" id="aclassmingfx_1_1_point3_html_abbf85b5749b37869f4c1b98443ebbd9e"><div class="ttname"><a href="classmingfx_1_1_point3.html#abbf85b5749b37869f4c1b98443ebbd9e">mingfx::Point3::w</a></div><div class="ttdeci">float w() const</div><div class="ttdoc">In homogeneous coordinates, the w coordinate for all points is 1.0.</div><div class="ttdef"><b>Definition:</b> <a href="point3_8h_source.html#l00104">point3.h:104</a></div></div> +<div class="ttc" id="aclassmingfx_1_1_point3_html_ac409e3213620b80c868245c1f6a6eea5"><div class="ttname"><a href="classmingfx_1_1_point3.html#ac409e3213620b80c868245c1f6a6eea5">mingfx::Point3::x</a></div><div class="ttdeci">float x() const</div><div class="ttdoc">Read only access to the x coordinate. Can also use my_point[0]. Use the my_point[0] = 1....</div><div class="ttdef"><b>Definition:</b> <a href="point3_8h_source.html#l00093">point3.h:93</a></div></div> +<div class="ttc" id="aclassmingfx_1_1_point3_html_ac463e3a3ec3edd02c86505ea6400d8e6"><div class="ttname"><a href="classmingfx_1_1_point3.html#ac463e3a3ec3edd02c86505ea6400d8e6">mingfx::Point3::z</a></div><div class="ttdeci">float z() const</div><div class="ttdoc">Read only access to the z coordinate. Can also use my_point[2]. Use the my_point[2] = 1....</div><div class="ttdef"><b>Definition:</b> <a href="point3_8h_source.html#l00101">point3.h:101</a></div></div> +<div class="ttc" id="aclassmingfx_1_1_point3_html_acccf9d3fca27174c18ada3b33209c71e"><div class="ttname"><a href="classmingfx_1_1_point3.html#acccf9d3fca27174c18ada3b33209c71e">mingfx::Point3::operator!=</a></div><div class="ttdeci">bool operator!=(const Point3 &p) const</div><div class="ttdoc">Check for "inequality", taking floating point imprecision into account.</div></div> +<div class="ttc" id="aclassmingfx_1_1_point3_html_ae31d5f91a03fabdf72b2fa54e177b743"><div class="ttname"><a href="classmingfx_1_1_point3.html#ae31d5f91a03fabdf72b2fa54e177b743">mingfx::Point3::ClosestPointOnPlane</a></div><div class="ttdeci">Point3 ClosestPointOnPlane(const Point3 &plane_origin, const Vector3 &plane_normal)</div><div class="ttdoc">Returns the perpendicular projection of this point onto a plane defined by a point and a normal.</div></div> +<div class="ttc" id="aclassmingfx_1_1_point3_html_ae8ab322852c24c6e03bed03cac443664"><div class="ttname"><a href="classmingfx_1_1_point3.html#ae8ab322852c24c6e03bed03cac443664">mingfx::Point3::Point3</a></div><div class="ttdeci">Point3()</div><div class="ttdoc">Default point at the origin.</div></div> +<div class="ttc" id="aclassmingfx_1_1_point3_html_aecb7c3137356cd4470851c54a47c7930"><div class="ttname"><a href="classmingfx_1_1_point3.html#aecb7c3137356cd4470851c54a47c7930">mingfx::Point3::Origin</a></div><div class="ttdeci">static const Point3 & Origin()</div><div class="ttdoc">(0,0,0) - a shortcut for a special point that is frequently needed</div></div> +<div class="ttc" id="aclassmingfx_1_1_point3_html_af0557bdc07452cf335e2b7e04fc0aa3c"><div class="ttname"><a href="classmingfx_1_1_point3.html#af0557bdc07452cf335e2b7e04fc0aa3c">mingfx::Point3::value_ptr</a></div><div class="ttdeci">const float * value_ptr() const</div><div class="ttdoc">Returns a const pointer to the raw data array.</div></div> +<div class="ttc" id="aclassmingfx_1_1_point3_html_af554773b2d7f4492a0727e8e42efe002"><div class="ttname"><a href="classmingfx_1_1_point3.html#af554773b2d7f4492a0727e8e42efe002">mingfx::Point3::DistanceToPlane</a></div><div class="ttdeci">float DistanceToPlane(const Point3 &plane_origin, const Vector3 &plane_normal)</div><div class="ttdoc">Returns the shortest (i.e., perpendicular) distance from this point to a plane defined by a point and...</div></div> +<div class="ttc" id="aclassmingfx_1_1_vector3_html"><div class="ttname"><a href="classmingfx_1_1_vector3.html">mingfx::Vector3</a></div><div class="ttdoc">A 3D Vector with floating point coordinates, used for storing normals and all sorts of other 3D graph...</div><div class="ttdef"><b>Definition:</b> <a href="vector3_8h_source.html#l00062">vector3.h:62</a></div></div> +<div class="ttc" id="anamespacemingfx_html"><div class="ttname"><a href="namespacemingfx.html">mingfx</a></div><div class="ttdoc">Namespace for the MinGfx Toolkit.</div><div class="ttdef"><b>Definition:</b> <a href="aabb_8h_source.html#l00021">aabb.h:21</a></div></div> +<div class="ttc" id="anamespacemingfx_html_a6bc967741341f4f318a505d884192906"><div class="ttname"><a href="namespacemingfx.html#a6bc967741341f4f318a505d884192906">mingfx::operator<<</a></div><div class="ttdeci">std::ostream & operator<<(std::ostream &os, const Color &c)</div></div> +<div class="ttc" id="anamespacemingfx_html_a6eb31e6e81c6e29144799be4c9db404d"><div class="ttname"><a href="namespacemingfx.html#a6eb31e6e81c6e29144799be4c9db404d">mingfx::operator>></a></div><div class="ttdeci">std::istream & operator>>(std::istream &is, Color &c)</div></div> +</div><!-- fragment --></div><!-- contents --> +<!-- HTML footer for doxygen 1.8.9.1--> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="doxygen.png" alt="doxygen"/> +</a> 1.9.1 +</small></address> +</body> +</html> |