diff options
author | Matt Strapp <matt@mattstrapp.net> | 2021-09-20 18:15:14 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2021-09-20 18:15:14 -0500 |
commit | 342403a02f8063903d0f38327430721d4d0ae331 (patch) | |
tree | 29d020a27bc16939c568dd4b29166566d1c0e658 /dev/MinGfx/docs/html/classmingfx_1_1_point3.html | |
parent | Fix parenthesis (diff) | |
download | csci4611-342403a02f8063903d0f38327430721d4d0ae331.tar csci4611-342403a02f8063903d0f38327430721d4d0ae331.tar.gz csci4611-342403a02f8063903d0f38327430721d4d0ae331.tar.bz2 csci4611-342403a02f8063903d0f38327430721d4d0ae331.tar.lz csci4611-342403a02f8063903d0f38327430721d4d0ae331.tar.xz csci4611-342403a02f8063903d0f38327430721d4d0ae331.tar.zst csci4611-342403a02f8063903d0f38327430721d4d0ae331.zip |
do ass1submission-p1.0
Diffstat (limited to 'dev/MinGfx/docs/html/classmingfx_1_1_point3.html')
-rw-r--r-- | dev/MinGfx/docs/html/classmingfx_1_1_point3.html | 1590 |
1 files changed, 795 insertions, 795 deletions
diff --git a/dev/MinGfx/docs/html/classmingfx_1_1_point3.html b/dev/MinGfx/docs/html/classmingfx_1_1_point3.html index 2166d0e..137c12d 100644 --- a/dev/MinGfx/docs/html/classmingfx_1_1_point3.html +++ b/dev/MinGfx/docs/html/classmingfx_1_1_point3.html @@ -1,795 +1,795 @@ -<!-- 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: mingfx::Point3 Class 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="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="namespacemingfx.html">mingfx</a></li><li class="navelem"><a class="el" href="classmingfx_1_1_point3.html">Point3</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="#pub-static-methods">Static Public Member Functions</a> | -<a href="classmingfx_1_1_point3-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">mingfx::Point3 Class Reference</div> </div> -</div><!--header--> -<div class="contents"> -<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> -<div class="textblock"><p>A 3D Point with floating point coordinates, used for storing vertices and all sorts of other 3D graphics operations. </p> -<p>Point3s can be transformed by a <a class="el" href="classmingfx_1_1_matrix4.html" title="A 4x4 transformation matrix stored internally as an array of floats in column-major order so as to be...">Matrix4</a>. Example: </p><div class="fragment"><div class="line"><a class="code" href="classmingfx_1_1_point3.html#ae8ab322852c24c6e03bed03cac443664">Point3</a> a(0,0,1);</div> -<div class="line">std::cout << a << std::endl;</div> -<div class="line"> </div> -<div class="line">Matrix4 M = <a class="code" href="classmingfx_1_1_matrix4.html#ae82bab81df82dc03f5eb11e74ba1dd84">Matrix4::Translation</a>(Vector3(0,0,-1));</div> -<div class="line"><a class="code" href="classmingfx_1_1_point3.html#ae8ab322852c24c6e03bed03cac443664">Point3</a> b = M * a;</div> -<div class="line">std::cout << b << std::endl;</div> -<div class="line"> </div> -<div class="line"><span class="comment">// you can access the individual components of the point in two ways:</span></div> -<div class="line"><a class="code" href="classmingfx_1_1_point3.html#ae8ab322852c24c6e03bed03cac443664">Point3</a> p(1,2,3);</div> -<div class="line"><span class="keywordtype">float</span> option1 = p.x();</div> -<div class="line"><span class="keywordtype">float</span> option2 = p[0];</div> -<div class="line"> </div> -<div class="line"><span class="comment">// to set an individual component of the point use the [] operator:</span></div> -<div class="line"><a class="code" href="classmingfx_1_1_point3.html#ae8ab322852c24c6e03bed03cac443664">Point3</a> p2;</div> -<div class="line">p2[0] = 0.4;</div> -<div class="line">p2[1] = 1.2;</div> -<div class="line">p2[2] = 3.1;</div> -<div class="ttc" id="aclassmingfx_1_1_matrix4_html_ae82bab81df82dc03f5eb11e74ba1dd84"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#ae82bab81df82dc03f5eb11e74ba1dd84">mingfx::Matrix4::Translation</a></div><div class="ttdeci">static Matrix4 Translation(const Vector3 &v)</div><div class="ttdoc">Returns the translation matrix described by the vector.</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><!-- fragment --> -<p class="definition">Definition at line <a class="el" href="point3_8h_source.html#l00052">52</a> of file <a class="el" href="point3_8h_source.html">point3.h</a>.</p> -</div> -<p><code>#include <<a class="el" href="point3_8h_source.html">point3.h</a>></code></p> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:ae8ab322852c24c6e03bed03cac443664"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#ae8ab322852c24c6e03bed03cac443664">Point3</a> ()</td></tr> -<tr class="memdesc:ae8ab322852c24c6e03bed03cac443664"><td class="mdescLeft"> </td><td class="mdescRight">Default point at the origin. <a href="classmingfx_1_1_point3.html#ae8ab322852c24c6e03bed03cac443664">More...</a><br /></td></tr> -<tr class="separator:ae8ab322852c24c6e03bed03cac443664"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a29d113f0fa37fa04a642817c680fe953"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a29d113f0fa37fa04a642817c680fe953">Point3</a> (float <a class="el" href="classmingfx_1_1_point3.html#ac409e3213620b80c868245c1f6a6eea5">x</a>, float <a class="el" href="classmingfx_1_1_point3.html#a0757315cd84f91879021d7afe18e0545">y</a>, float <a class="el" href="classmingfx_1_1_point3.html#ac463e3a3ec3edd02c86505ea6400d8e6">z</a>)</td></tr> -<tr class="memdesc:a29d113f0fa37fa04a642817c680fe953"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a point given (x,y,z,1), where the 1 comes from the use of homogeneous coordinates in computer graphics. <a href="classmingfx_1_1_point3.html#a29d113f0fa37fa04a642817c680fe953">More...</a><br /></td></tr> -<tr class="separator:a29d113f0fa37fa04a642817c680fe953"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a062caf579ef643b25129cc35b3dbe756"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a062caf579ef643b25129cc35b3dbe756">Point3</a> (float *p)</td></tr> -<tr class="memdesc:a062caf579ef643b25129cc35b3dbe756"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a point given a pointer to x,y,z data. <a href="classmingfx_1_1_point3.html#a062caf579ef643b25129cc35b3dbe756">More...</a><br /></td></tr> -<tr class="separator:a062caf579ef643b25129cc35b3dbe756"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a23534a1ce3d4466c303b9205bd21cd97"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a23534a1ce3d4466c303b9205bd21cd97">Point3</a> (const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &p)</td></tr> -<tr class="memdesc:a23534a1ce3d4466c303b9205bd21cd97"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor for point. <a href="classmingfx_1_1_point3.html#a23534a1ce3d4466c303b9205bd21cd97">More...</a><br /></td></tr> -<tr class="separator:a23534a1ce3d4466c303b9205bd21cd97"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:aa55aef76986cc7424c2a535d6fd1ab7a"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#aa55aef76986cc7424c2a535d6fd1ab7a">~Point3</a> ()</td></tr> -<tr class="memdesc:aa55aef76986cc7424c2a535d6fd1ab7a"><td class="mdescLeft"> </td><td class="mdescRight">Point destructor. <a href="classmingfx_1_1_point3.html#aa55aef76986cc7424c2a535d6fd1ab7a">More...</a><br /></td></tr> -<tr class="separator:aa55aef76986cc7424c2a535d6fd1ab7a"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ab22d5cc4631f26274ada550c90d39699"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#ab22d5cc4631f26274ada550c90d39699">operator==</a> (const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &p) const</td></tr> -<tr class="memdesc:ab22d5cc4631f26274ada550c90d39699"><td class="mdescLeft"> </td><td class="mdescRight">Check for "equality", taking floating point imprecision into account. <a href="classmingfx_1_1_point3.html#ab22d5cc4631f26274ada550c90d39699">More...</a><br /></td></tr> -<tr class="separator:ab22d5cc4631f26274ada550c90d39699"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:acccf9d3fca27174c18ada3b33209c71e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#acccf9d3fca27174c18ada3b33209c71e">operator!=</a> (const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &p) const</td></tr> -<tr class="memdesc:acccf9d3fca27174c18ada3b33209c71e"><td class="mdescLeft"> </td><td class="mdescRight">Check for "inequality", taking floating point imprecision into account. <a href="classmingfx_1_1_point3.html#acccf9d3fca27174c18ada3b33209c71e">More...</a><br /></td></tr> -<tr class="separator:acccf9d3fca27174c18ada3b33209c71e"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a8e54b18bfaa39f4b7048b85c9ca43c3d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmingfx_1_1_point3.html">Point3</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a8e54b18bfaa39f4b7048b85c9ca43c3d">operator=</a> (const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &p)</td></tr> -<tr class="memdesc:a8e54b18bfaa39f4b7048b85c9ca43c3d"><td class="mdescLeft"> </td><td class="mdescRight">Assignment operator. <a href="classmingfx_1_1_point3.html#a8e54b18bfaa39f4b7048b85c9ca43c3d">More...</a><br /></td></tr> -<tr class="separator:a8e54b18bfaa39f4b7048b85c9ca43c3d"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a3a586db5b58d5f1fdaddb1e33e84d566"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a3a586db5b58d5f1fdaddb1e33e84d566">operator[]</a> (const int i) const</td></tr> -<tr class="memdesc:a3a586db5b58d5f1fdaddb1e33e84d566"><td class="mdescLeft"> </td><td class="mdescRight">Read only access to the ith coordinate of the point. <a href="classmingfx_1_1_point3.html#a3a586db5b58d5f1fdaddb1e33e84d566">More...</a><br /></td></tr> -<tr class="separator:a3a586db5b58d5f1fdaddb1e33e84d566"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a790468d68b6d957b22959f9078f85c3e"><td class="memItemLeft" align="right" valign="top">float & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a790468d68b6d957b22959f9078f85c3e">operator[]</a> (const int i)</td></tr> -<tr class="memdesc:a790468d68b6d957b22959f9078f85c3e"><td class="mdescLeft"> </td><td class="mdescRight">Returns a reference to the ith coordinate of the point. Use this accessor if you wish to set the coordinate rather than just request its value. Example: <a href="classmingfx_1_1_point3.html#a790468d68b6d957b22959f9078f85c3e">More...</a><br /></td></tr> -<tr class="separator:a790468d68b6d957b22959f9078f85c3e"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ac409e3213620b80c868245c1f6a6eea5"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#ac409e3213620b80c868245c1f6a6eea5">x</a> () const</td></tr> -<tr class="memdesc:ac409e3213620b80c868245c1f6a6eea5"><td class="mdescLeft"> </td><td class="mdescRight">Read only access to the x coordinate. Can also use my_point[0]. Use the my_point[0] = 1.0; form if you need to set the value. <a href="classmingfx_1_1_point3.html#ac409e3213620b80c868245c1f6a6eea5">More...</a><br /></td></tr> -<tr class="separator:ac409e3213620b80c868245c1f6a6eea5"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a0757315cd84f91879021d7afe18e0545"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a0757315cd84f91879021d7afe18e0545">y</a> () const</td></tr> -<tr class="memdesc:a0757315cd84f91879021d7afe18e0545"><td class="mdescLeft"> </td><td class="mdescRight">Read only access to the y coordinate. Can also use my_point[1]. Use the my_point[1] = 1.0; form if you need to set the value. <a href="classmingfx_1_1_point3.html#a0757315cd84f91879021d7afe18e0545">More...</a><br /></td></tr> -<tr class="separator:a0757315cd84f91879021d7afe18e0545"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ac463e3a3ec3edd02c86505ea6400d8e6"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#ac463e3a3ec3edd02c86505ea6400d8e6">z</a> () const</td></tr> -<tr class="memdesc:ac463e3a3ec3edd02c86505ea6400d8e6"><td class="mdescLeft"> </td><td class="mdescRight">Read only access to the z coordinate. Can also use my_point[2]. Use the my_point[2] = 1.0; form if you need to set the value. <a href="classmingfx_1_1_point3.html#ac463e3a3ec3edd02c86505ea6400d8e6">More...</a><br /></td></tr> -<tr class="separator:ac463e3a3ec3edd02c86505ea6400d8e6"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:abbf85b5749b37869f4c1b98443ebbd9e"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#abbf85b5749b37869f4c1b98443ebbd9e">w</a> () const</td></tr> -<tr class="memdesc:abbf85b5749b37869f4c1b98443ebbd9e"><td class="mdescLeft"> </td><td class="mdescRight">In homogeneous coordinates, the w coordinate for all points is 1.0. <a href="classmingfx_1_1_point3.html#abbf85b5749b37869f4c1b98443ebbd9e">More...</a><br /></td></tr> -<tr class="separator:abbf85b5749b37869f4c1b98443ebbd9e"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:af0557bdc07452cf335e2b7e04fc0aa3c"><td class="memItemLeft" align="right" valign="top">const float * </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#af0557bdc07452cf335e2b7e04fc0aa3c">value_ptr</a> () const</td></tr> -<tr class="memdesc:af0557bdc07452cf335e2b7e04fc0aa3c"><td class="mdescLeft"> </td><td class="mdescRight">Returns a const pointer to the raw data array. <a href="classmingfx_1_1_point3.html#af0557bdc07452cf335e2b7e04fc0aa3c">More...</a><br /></td></tr> -<tr class="separator:af0557bdc07452cf335e2b7e04fc0aa3c"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a228a1f3754b8ee82b9bb148ce183fc5b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmingfx_1_1_point3.html">Point3</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a228a1f3754b8ee82b9bb148ce183fc5b">Lerp</a> (const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &b, float alpha) const</td></tr> -<tr class="memdesc:a228a1f3754b8ee82b9bb148ce183fc5b"><td class="mdescLeft"> </td><td class="mdescRight">Linear interpolation between this point and another. Alpha=0.0 returns this point, and alpha=1.0 returns the other point, other values blend between the two. <a href="classmingfx_1_1_point3.html#a228a1f3754b8ee82b9bb148ce183fc5b">More...</a><br /></td></tr> -<tr class="separator:a228a1f3754b8ee82b9bb148ce183fc5b"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:af554773b2d7f4492a0727e8e42efe002"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#af554773b2d7f4492a0727e8e42efe002">DistanceToPlane</a> (const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &plane_origin, const <a class="el" href="classmingfx_1_1_vector3.html">Vector3</a> &plane_normal)</td></tr> -<tr class="memdesc:af554773b2d7f4492a0727e8e42efe002"><td class="mdescLeft"> </td><td class="mdescRight">Returns the shortest (i.e., perpendicular) distance from this point to a plane defined by a point and a normal. <a href="classmingfx_1_1_point3.html#af554773b2d7f4492a0727e8e42efe002">More...</a><br /></td></tr> -<tr class="separator:af554773b2d7f4492a0727e8e42efe002"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ae31d5f91a03fabdf72b2fa54e177b743"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmingfx_1_1_point3.html">Point3</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#ae31d5f91a03fabdf72b2fa54e177b743">ClosestPointOnPlane</a> (const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &plane_origin, const <a class="el" href="classmingfx_1_1_vector3.html">Vector3</a> &plane_normal)</td></tr> -<tr class="memdesc:ae31d5f91a03fabdf72b2fa54e177b743"><td class="mdescLeft"> </td><td class="mdescRight">Returns the perpendicular projection of this point onto a plane defined by a point and a normal. <a href="classmingfx_1_1_point3.html#ae31d5f91a03fabdf72b2fa54e177b743">More...</a><br /></td></tr> -<tr class="separator:ae31d5f91a03fabdf72b2fa54e177b743"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a9dd5396f53b7006ec4cb63abffd90a7c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmingfx_1_1_point3.html">Point3</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a9dd5396f53b7006ec4cb63abffd90a7c">ClosestPoint</a> (const std::vector< <a class="el" href="classmingfx_1_1_point3.html">Point3</a> > &point_list)</td></tr> -<tr class="memdesc:a9dd5396f53b7006ec4cb63abffd90a7c"><td class="mdescLeft"> </td><td class="mdescRight">Given a list of points, returns the closest in the last to the current point. <a href="classmingfx_1_1_point3.html#a9dd5396f53b7006ec4cb63abffd90a7c">More...</a><br /></td></tr> -<tr class="separator:a9dd5396f53b7006ec4cb63abffd90a7c"><td class="memSeparator" colspan="2"> </td></tr> -</table><table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> -Static Public Member Functions</h2></td></tr> -<tr class="memitem:aecb7c3137356cd4470851c54a47c7930"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#aecb7c3137356cd4470851c54a47c7930">Origin</a> ()</td></tr> -<tr class="memdesc:aecb7c3137356cd4470851c54a47c7930"><td class="mdescLeft"> </td><td class="mdescRight">(0,0,0) - a shortcut for a special point that is frequently needed <a href="classmingfx_1_1_point3.html#aecb7c3137356cd4470851c54a47c7930">More...</a><br /></td></tr> -<tr class="separator:aecb7c3137356cd4470851c54a47c7930"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a9983b62979f9ac5a11efea08d9d283ed"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a9983b62979f9ac5a11efea08d9d283ed">Zero</a> ()</td></tr> -<tr class="memdesc:a9983b62979f9ac5a11efea08d9d283ed"><td class="mdescLeft"> </td><td class="mdescRight">(0,0,0) - a shortcut for a special point that is frequently needed <a href="classmingfx_1_1_point3.html#a9983b62979f9ac5a11efea08d9d283ed">More...</a><br /></td></tr> -<tr class="separator:a9983b62979f9ac5a11efea08d9d283ed"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a2cfcbefe652720779e0d7beff1c86ece"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a2cfcbefe652720779e0d7beff1c86ece">One</a> ()</td></tr> -<tr class="memdesc:a2cfcbefe652720779e0d7beff1c86ece"><td class="mdescLeft"> </td><td class="mdescRight">(1,1,1) - a shortcut for a special point that is frequently needed <a href="classmingfx_1_1_point3.html#a2cfcbefe652720779e0d7beff1c86ece">More...</a><br /></td></tr> -<tr class="separator:a2cfcbefe652720779e0d7beff1c86ece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a206691c31872e537eefbf897603dba74"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classmingfx_1_1_point3.html">Point3</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a206691c31872e537eefbf897603dba74">Lerp</a> (const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &a, const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &b, float alpha)</td></tr> -<tr class="memdesc:a206691c31872e537eefbf897603dba74"><td class="mdescLeft"> </td><td class="mdescRight">Linear interpolation between two points. Alpha=0.0 returns 'a' and alpha=1.0 returns 'b', other values blend between the two. <a href="classmingfx_1_1_point3.html#a206691c31872e537eefbf897603dba74">More...</a><br /></td></tr> -<tr class="separator:a206691c31872e537eefbf897603dba74"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<h2 class="groupheader">Constructor & Destructor Documentation</h2> -<a id="ae8ab322852c24c6e03bed03cac443664"></a> -<h2 class="memtitle"><span class="permalink"><a href="#ae8ab322852c24c6e03bed03cac443664">◆ </a></span>Point3() <span class="overload">[1/4]</span></h2> - -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">mingfx::Point3::Point3 </td> - <td>(</td> - <td class="paramname"></td><td>)</td> - <td></td> - </tr> - </table> -</div><div class="memdoc"> - -<p>Default point at the origin. </p> - -</div> -</div> -<a id="a29d113f0fa37fa04a642817c680fe953"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a29d113f0fa37fa04a642817c680fe953">◆ </a></span>Point3() <span class="overload">[2/4]</span></h2> - -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">mingfx::Point3::Point3 </td> - <td>(</td> - <td class="paramtype">float </td> - <td class="paramname"><em>x</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">float </td> - <td class="paramname"><em>y</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">float </td> - <td class="paramname"><em>z</em> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td> - </tr> - </table> -</div><div class="memdoc"> - -<p>Constructs a point given (x,y,z,1), where the 1 comes from the use of homogeneous coordinates in computer graphics. </p> - -</div> -</div> -<a id="a062caf579ef643b25129cc35b3dbe756"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a062caf579ef643b25129cc35b3dbe756">◆ </a></span>Point3() <span class="overload">[3/4]</span></h2> - -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">mingfx::Point3::Point3 </td> - <td>(</td> - <td class="paramtype">float * </td> - <td class="paramname"><em>p</em></td><td>)</td> - <td></td> - </tr> - </table> -</div><div class="memdoc"> - -<p>Constructs a point given a pointer to x,y,z data. </p> - -</div> -</div> -<a id="a23534a1ce3d4466c303b9205bd21cd97"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a23534a1ce3d4466c303b9205bd21cd97">◆ </a></span>Point3() <span class="overload">[4/4]</span></h2> - -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">mingfx::Point3::Point3 </td> - <td>(</td> - <td class="paramtype">const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> & </td> - <td class="paramname"><em>p</em></td><td>)</td> - <td></td> - </tr> - </table> -</div><div class="memdoc"> - -<p>Copy constructor for point. </p> - -</div> -</div> -<a id="aa55aef76986cc7424c2a535d6fd1ab7a"></a> -<h2 class="memtitle"><span class="permalink"><a href="#aa55aef76986cc7424c2a535d6fd1ab7a">◆ </a></span>~Point3()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">virtual mingfx::Point3::~Point3 </td> - <td>(</td> - <td class="paramname"></td><td>)</td> - <td></td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">virtual</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> - -<p>Point destructor. </p> - -</div> -</div> -<h2 class="groupheader">Member Function Documentation</h2> -<a id="a9dd5396f53b7006ec4cb63abffd90a7c"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a9dd5396f53b7006ec4cb63abffd90a7c">◆ </a></span>ClosestPoint()</h2> - -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname"><a class="el" href="classmingfx_1_1_point3.html">Point3</a> mingfx::Point3::ClosestPoint </td> - <td>(</td> - <td class="paramtype">const std::vector< <a class="el" href="classmingfx_1_1_point3.html">Point3</a> > & </td> - <td class="paramname"><em>point_list</em></td><td>)</td> - <td></td> - </tr> - </table> -</div><div class="memdoc"> - -<p>Given a list of points, returns the closest in the last to the current point. </p> - -</div> -</div> -<a id="ae31d5f91a03fabdf72b2fa54e177b743"></a> -<h2 class="memtitle"><span class="permalink"><a href="#ae31d5f91a03fabdf72b2fa54e177b743">◆ </a></span>ClosestPointOnPlane()</h2> - -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname"><a class="el" href="classmingfx_1_1_point3.html">Point3</a> mingfx::Point3::ClosestPointOnPlane </td> - <td>(</td> - <td class="paramtype">const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> & </td> - <td class="paramname"><em>plane_origin</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">const <a class="el" href="classmingfx_1_1_vector3.html">Vector3</a> & </td> - <td class="paramname"><em>plane_normal</em> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td> - </tr> - </table> -</div><div class="memdoc"> - -<p>Returns the perpendicular projection of this point onto a plane defined by a point and a normal. </p> - -</div> -</div> -<a id="af554773b2d7f4492a0727e8e42efe002"></a> -<h2 class="memtitle"><span class="permalink"><a href="#af554773b2d7f4492a0727e8e42efe002">◆ </a></span>DistanceToPlane()</h2> - -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">float mingfx::Point3::DistanceToPlane </td> - <td>(</td> - <td class="paramtype">const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> & </td> - <td class="paramname"><em>plane_origin</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">const <a class="el" href="classmingfx_1_1_vector3.html">Vector3</a> & </td> - <td class="paramname"><em>plane_normal</em> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td> - </tr> - </table> -</div><div class="memdoc"> - -<p>Returns the shortest (i.e., perpendicular) distance from this point to a plane defined by a point and a normal. </p> - -</div> -</div> -<a id="a206691c31872e537eefbf897603dba74"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a206691c31872e537eefbf897603dba74">◆ </a></span>Lerp() <span class="overload">[1/2]</span></h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">static <a class="el" href="classmingfx_1_1_point3.html">Point3</a> mingfx::Point3::Lerp </td> - <td>(</td> - <td class="paramtype">const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> & </td> - <td class="paramname"><em>a</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> & </td> - <td class="paramname"><em>b</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">float </td> - <td class="paramname"><em>alpha</em> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">static</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> - -<p>Linear interpolation between two points. Alpha=0.0 returns 'a' and alpha=1.0 returns 'b', other values blend between the two. </p> - -</div> -</div> -<a id="a228a1f3754b8ee82b9bb148ce183fc5b"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a228a1f3754b8ee82b9bb148ce183fc5b">◆ </a></span>Lerp() <span class="overload">[2/2]</span></h2> - -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname"><a class="el" href="classmingfx_1_1_point3.html">Point3</a> mingfx::Point3::Lerp </td> - <td>(</td> - <td class="paramtype">const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> & </td> - <td class="paramname"><em>b</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">float </td> - <td class="paramname"><em>alpha</em> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td> const</td> - </tr> - </table> -</div><div class="memdoc"> - -<p>Linear interpolation between this point and another. Alpha=0.0 returns this point, and alpha=1.0 returns the other point, other values blend between the two. </p> - -</div> -</div> -<a id="a2cfcbefe652720779e0d7beff1c86ece"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a2cfcbefe652720779e0d7beff1c86ece">◆ </a></span>One()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">static const <a class="el" href="classmingfx_1_1_point3.html">Point3</a>& mingfx::Point3::One </td> - <td>(</td> - <td class="paramname"></td><td>)</td> - <td></td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">static</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> - -<p>(1,1,1) - a shortcut for a special point that is frequently needed </p> - -</div> -</div> -<a id="acccf9d3fca27174c18ada3b33209c71e"></a> -<h2 class="memtitle"><span class="permalink"><a href="#acccf9d3fca27174c18ada3b33209c71e">◆ </a></span>operator!=()</h2> - -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">bool mingfx::Point3::operator!= </td> - <td>(</td> - <td class="paramtype">const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> & </td> - <td class="paramname"><em>p</em></td><td>)</td> - <td> const</td> - </tr> - </table> -</div><div class="memdoc"> - -<p>Check for "inequality", taking floating point imprecision into account. </p> - -</div> -</div> -<a id="a8e54b18bfaa39f4b7048b85c9ca43c3d"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a8e54b18bfaa39f4b7048b85c9ca43c3d">◆ </a></span>operator=()</h2> - -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname"><a class="el" href="classmingfx_1_1_point3.html">Point3</a>& mingfx::Point3::operator= </td> - <td>(</td> - <td class="paramtype">const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> & </td> - <td class="paramname"><em>p</em></td><td>)</td> - <td></td> - </tr> - </table> -</div><div class="memdoc"> - -<p>Assignment operator. </p> - -</div> -</div> -<a id="ab22d5cc4631f26274ada550c90d39699"></a> -<h2 class="memtitle"><span class="permalink"><a href="#ab22d5cc4631f26274ada550c90d39699">◆ </a></span>operator==()</h2> - -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">bool mingfx::Point3::operator== </td> - <td>(</td> - <td class="paramtype">const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> & </td> - <td class="paramname"><em>p</em></td><td>)</td> - <td> const</td> - </tr> - </table> -</div><div class="memdoc"> - -<p>Check for "equality", taking floating point imprecision into account. </p> - -</div> -</div> -<a id="a790468d68b6d957b22959f9078f85c3e"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a790468d68b6d957b22959f9078f85c3e">◆ </a></span>operator[]() <span class="overload">[1/2]</span></h2> - -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">float& mingfx::Point3::operator[] </td> - <td>(</td> - <td class="paramtype">const int </td> - <td class="paramname"><em>i</em></td><td>)</td> - <td></td> - </tr> - </table> -</div><div class="memdoc"> - -<p>Returns a reference to the ith coordinate of the point. Use this accessor if you wish to set the coordinate rather than just request its value. Example: </p> -<div class="fragment"><div class="line"><a class="code" href="classmingfx_1_1_point3.html#ae8ab322852c24c6e03bed03cac443664">Point3</a> a;</div> -<div class="line">a[0] = 5.0; <span class="comment">// set the x-coordinate of the point</span></div> -</div><!-- fragment --> -</div> -</div> -<a id="a3a586db5b58d5f1fdaddb1e33e84d566"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a3a586db5b58d5f1fdaddb1e33e84d566">◆ </a></span>operator[]() <span class="overload">[2/2]</span></h2> - -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">float mingfx::Point3::operator[] </td> - <td>(</td> - <td class="paramtype">const int </td> - <td class="paramname"><em>i</em></td><td>)</td> - <td> const</td> - </tr> - </table> -</div><div class="memdoc"> - -<p>Read only access to the ith coordinate of the point. </p> - -</div> -</div> -<a id="aecb7c3137356cd4470851c54a47c7930"></a> -<h2 class="memtitle"><span class="permalink"><a href="#aecb7c3137356cd4470851c54a47c7930">◆ </a></span>Origin()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">static const <a class="el" href="classmingfx_1_1_point3.html">Point3</a>& mingfx::Point3::Origin </td> - <td>(</td> - <td class="paramname"></td><td>)</td> - <td></td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">static</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> - -<p>(0,0,0) - a shortcut for a special point that is frequently needed </p> - -</div> -</div> -<a id="af0557bdc07452cf335e2b7e04fc0aa3c"></a> -<h2 class="memtitle"><span class="permalink"><a href="#af0557bdc07452cf335e2b7e04fc0aa3c">◆ </a></span>value_ptr()</h2> - -<div class="memitem"> -<div class="memproto"> - <table class="memname"> - <tr> - <td class="memname">const float* mingfx::Point3::value_ptr </td> - <td>(</td> - <td class="paramname"></td><td>)</td> - <td> const</td> - </tr> - </table> -</div><div class="memdoc"> - -<p>Returns a const pointer to the raw data array. </p> - -</div> -</div> -<a id="abbf85b5749b37869f4c1b98443ebbd9e"></a> -<h2 class="memtitle"><span class="permalink"><a href="#abbf85b5749b37869f4c1b98443ebbd9e">◆ </a></span>w()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">float mingfx::Point3::w </td> - <td>(</td> - <td class="paramname"></td><td>)</td> - <td> const</td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> - -<p>In homogeneous coordinates, the w coordinate for all points is 1.0. </p> - -<p class="definition">Definition at line <a class="el" href="point3_8h_source.html#l00104">104</a> of file <a class="el" href="point3_8h_source.html">point3.h</a>.</p> - -</div> -</div> -<a id="ac409e3213620b80c868245c1f6a6eea5"></a> -<h2 class="memtitle"><span class="permalink"><a href="#ac409e3213620b80c868245c1f6a6eea5">◆ </a></span>x()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">float mingfx::Point3::x </td> - <td>(</td> - <td class="paramname"></td><td>)</td> - <td> const</td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> - -<p>Read only access to the x coordinate. Can also use my_point[0]. Use the my_point[0] = 1.0; form if you need to set the value. </p> - -<p class="definition">Definition at line <a class="el" href="point3_8h_source.html#l00093">93</a> of file <a class="el" href="point3_8h_source.html">point3.h</a>.</p> - -</div> -</div> -<a id="a0757315cd84f91879021d7afe18e0545"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a0757315cd84f91879021d7afe18e0545">◆ </a></span>y()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">float mingfx::Point3::y </td> - <td>(</td> - <td class="paramname"></td><td>)</td> - <td> const</td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> - -<p>Read only access to the y coordinate. Can also use my_point[1]. Use the my_point[1] = 1.0; form if you need to set the value. </p> - -<p class="definition">Definition at line <a class="el" href="point3_8h_source.html#l00097">97</a> of file <a class="el" href="point3_8h_source.html">point3.h</a>.</p> - -</div> -</div> -<a id="ac463e3a3ec3edd02c86505ea6400d8e6"></a> -<h2 class="memtitle"><span class="permalink"><a href="#ac463e3a3ec3edd02c86505ea6400d8e6">◆ </a></span>z()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">float mingfx::Point3::z </td> - <td>(</td> - <td class="paramname"></td><td>)</td> - <td> const</td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> - -<p>Read only access to the z coordinate. Can also use my_point[2]. Use the my_point[2] = 1.0; form if you need to set the value. </p> - -<p class="definition">Definition at line <a class="el" href="point3_8h_source.html#l00101">101</a> of file <a class="el" href="point3_8h_source.html">point3.h</a>.</p> - -</div> -</div> -<a id="a9983b62979f9ac5a11efea08d9d283ed"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a9983b62979f9ac5a11efea08d9d283ed">◆ </a></span>Zero()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">static const <a class="el" href="classmingfx_1_1_point3.html">Point3</a>& mingfx::Point3::Zero </td> - <td>(</td> - <td class="paramname"></td><td>)</td> - <td></td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">static</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> - -<p>(0,0,0) - a shortcut for a special point that is frequently needed </p> - -</div> -</div> -<hr/>The documentation for this class was generated from the following file:<ul> -<li>src/<a class="el" href="point3_8h_source.html">point3.h</a></li> -</ul> -</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> +<!-- 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: mingfx::Point3 Class 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="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="namespacemingfx.html">mingfx</a></li><li class="navelem"><a class="el" href="classmingfx_1_1_point3.html">Point3</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#pub-methods">Public Member Functions</a> |
+<a href="#pub-static-methods">Static Public Member Functions</a> |
+<a href="classmingfx_1_1_point3-members.html">List of all members</a> </div>
+ <div class="headertitle">
+<div class="title">mingfx::Point3 Class Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>A 3D Point with floating point coordinates, used for storing vertices and all sorts of other 3D graphics operations. </p>
+<p>Point3s can be transformed by a <a class="el" href="classmingfx_1_1_matrix4.html" title="A 4x4 transformation matrix stored internally as an array of floats in column-major order so as to be...">Matrix4</a>. Example: </p><div class="fragment"><div class="line"><a class="code" href="classmingfx_1_1_point3.html#ae8ab322852c24c6e03bed03cac443664">Point3</a> a(0,0,1);</div>
+<div class="line">std::cout << a << std::endl;</div>
+<div class="line"> </div>
+<div class="line">Matrix4 M = <a class="code" href="classmingfx_1_1_matrix4.html#ae82bab81df82dc03f5eb11e74ba1dd84">Matrix4::Translation</a>(Vector3(0,0,-1));</div>
+<div class="line"><a class="code" href="classmingfx_1_1_point3.html#ae8ab322852c24c6e03bed03cac443664">Point3</a> b = M * a;</div>
+<div class="line">std::cout << b << std::endl;</div>
+<div class="line"> </div>
+<div class="line"><span class="comment">// you can access the individual components of the point in two ways:</span></div>
+<div class="line"><a class="code" href="classmingfx_1_1_point3.html#ae8ab322852c24c6e03bed03cac443664">Point3</a> p(1,2,3);</div>
+<div class="line"><span class="keywordtype">float</span> option1 = p.x();</div>
+<div class="line"><span class="keywordtype">float</span> option2 = p[0];</div>
+<div class="line"> </div>
+<div class="line"><span class="comment">// to set an individual component of the point use the [] operator:</span></div>
+<div class="line"><a class="code" href="classmingfx_1_1_point3.html#ae8ab322852c24c6e03bed03cac443664">Point3</a> p2;</div>
+<div class="line">p2[0] = 0.4;</div>
+<div class="line">p2[1] = 1.2;</div>
+<div class="line">p2[2] = 3.1;</div>
+<div class="ttc" id="aclassmingfx_1_1_matrix4_html_ae82bab81df82dc03f5eb11e74ba1dd84"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#ae82bab81df82dc03f5eb11e74ba1dd84">mingfx::Matrix4::Translation</a></div><div class="ttdeci">static Matrix4 Translation(const Vector3 &v)</div><div class="ttdoc">Returns the translation matrix described by the vector.</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><!-- fragment -->
+<p class="definition">Definition at line <a class="el" href="point3_8h_source.html#l00052">52</a> of file <a class="el" href="point3_8h_source.html">point3.h</a>.</p>
+</div>
+<p><code>#include <<a class="el" href="point3_8h_source.html">point3.h</a>></code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
+Public Member Functions</h2></td></tr>
+<tr class="memitem:ae8ab322852c24c6e03bed03cac443664"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#ae8ab322852c24c6e03bed03cac443664">Point3</a> ()</td></tr>
+<tr class="memdesc:ae8ab322852c24c6e03bed03cac443664"><td class="mdescLeft"> </td><td class="mdescRight">Default point at the origin. <a href="classmingfx_1_1_point3.html#ae8ab322852c24c6e03bed03cac443664">More...</a><br /></td></tr>
+<tr class="separator:ae8ab322852c24c6e03bed03cac443664"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a29d113f0fa37fa04a642817c680fe953"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a29d113f0fa37fa04a642817c680fe953">Point3</a> (float <a class="el" href="classmingfx_1_1_point3.html#ac409e3213620b80c868245c1f6a6eea5">x</a>, float <a class="el" href="classmingfx_1_1_point3.html#a0757315cd84f91879021d7afe18e0545">y</a>, float <a class="el" href="classmingfx_1_1_point3.html#ac463e3a3ec3edd02c86505ea6400d8e6">z</a>)</td></tr>
+<tr class="memdesc:a29d113f0fa37fa04a642817c680fe953"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a point given (x,y,z,1), where the 1 comes from the use of homogeneous coordinates in computer graphics. <a href="classmingfx_1_1_point3.html#a29d113f0fa37fa04a642817c680fe953">More...</a><br /></td></tr>
+<tr class="separator:a29d113f0fa37fa04a642817c680fe953"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a062caf579ef643b25129cc35b3dbe756"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a062caf579ef643b25129cc35b3dbe756">Point3</a> (float *p)</td></tr>
+<tr class="memdesc:a062caf579ef643b25129cc35b3dbe756"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a point given a pointer to x,y,z data. <a href="classmingfx_1_1_point3.html#a062caf579ef643b25129cc35b3dbe756">More...</a><br /></td></tr>
+<tr class="separator:a062caf579ef643b25129cc35b3dbe756"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a23534a1ce3d4466c303b9205bd21cd97"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a23534a1ce3d4466c303b9205bd21cd97">Point3</a> (const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &p)</td></tr>
+<tr class="memdesc:a23534a1ce3d4466c303b9205bd21cd97"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor for point. <a href="classmingfx_1_1_point3.html#a23534a1ce3d4466c303b9205bd21cd97">More...</a><br /></td></tr>
+<tr class="separator:a23534a1ce3d4466c303b9205bd21cd97"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:aa55aef76986cc7424c2a535d6fd1ab7a"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#aa55aef76986cc7424c2a535d6fd1ab7a">~Point3</a> ()</td></tr>
+<tr class="memdesc:aa55aef76986cc7424c2a535d6fd1ab7a"><td class="mdescLeft"> </td><td class="mdescRight">Point destructor. <a href="classmingfx_1_1_point3.html#aa55aef76986cc7424c2a535d6fd1ab7a">More...</a><br /></td></tr>
+<tr class="separator:aa55aef76986cc7424c2a535d6fd1ab7a"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ab22d5cc4631f26274ada550c90d39699"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#ab22d5cc4631f26274ada550c90d39699">operator==</a> (const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &p) const</td></tr>
+<tr class="memdesc:ab22d5cc4631f26274ada550c90d39699"><td class="mdescLeft"> </td><td class="mdescRight">Check for "equality", taking floating point imprecision into account. <a href="classmingfx_1_1_point3.html#ab22d5cc4631f26274ada550c90d39699">More...</a><br /></td></tr>
+<tr class="separator:ab22d5cc4631f26274ada550c90d39699"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:acccf9d3fca27174c18ada3b33209c71e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#acccf9d3fca27174c18ada3b33209c71e">operator!=</a> (const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &p) const</td></tr>
+<tr class="memdesc:acccf9d3fca27174c18ada3b33209c71e"><td class="mdescLeft"> </td><td class="mdescRight">Check for "inequality", taking floating point imprecision into account. <a href="classmingfx_1_1_point3.html#acccf9d3fca27174c18ada3b33209c71e">More...</a><br /></td></tr>
+<tr class="separator:acccf9d3fca27174c18ada3b33209c71e"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a8e54b18bfaa39f4b7048b85c9ca43c3d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmingfx_1_1_point3.html">Point3</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a8e54b18bfaa39f4b7048b85c9ca43c3d">operator=</a> (const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &p)</td></tr>
+<tr class="memdesc:a8e54b18bfaa39f4b7048b85c9ca43c3d"><td class="mdescLeft"> </td><td class="mdescRight">Assignment operator. <a href="classmingfx_1_1_point3.html#a8e54b18bfaa39f4b7048b85c9ca43c3d">More...</a><br /></td></tr>
+<tr class="separator:a8e54b18bfaa39f4b7048b85c9ca43c3d"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a3a586db5b58d5f1fdaddb1e33e84d566"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a3a586db5b58d5f1fdaddb1e33e84d566">operator[]</a> (const int i) const</td></tr>
+<tr class="memdesc:a3a586db5b58d5f1fdaddb1e33e84d566"><td class="mdescLeft"> </td><td class="mdescRight">Read only access to the ith coordinate of the point. <a href="classmingfx_1_1_point3.html#a3a586db5b58d5f1fdaddb1e33e84d566">More...</a><br /></td></tr>
+<tr class="separator:a3a586db5b58d5f1fdaddb1e33e84d566"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a790468d68b6d957b22959f9078f85c3e"><td class="memItemLeft" align="right" valign="top">float & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a790468d68b6d957b22959f9078f85c3e">operator[]</a> (const int i)</td></tr>
+<tr class="memdesc:a790468d68b6d957b22959f9078f85c3e"><td class="mdescLeft"> </td><td class="mdescRight">Returns a reference to the ith coordinate of the point. Use this accessor if you wish to set the coordinate rather than just request its value. Example: <a href="classmingfx_1_1_point3.html#a790468d68b6d957b22959f9078f85c3e">More...</a><br /></td></tr>
+<tr class="separator:a790468d68b6d957b22959f9078f85c3e"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ac409e3213620b80c868245c1f6a6eea5"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#ac409e3213620b80c868245c1f6a6eea5">x</a> () const</td></tr>
+<tr class="memdesc:ac409e3213620b80c868245c1f6a6eea5"><td class="mdescLeft"> </td><td class="mdescRight">Read only access to the x coordinate. Can also use my_point[0]. Use the my_point[0] = 1.0; form if you need to set the value. <a href="classmingfx_1_1_point3.html#ac409e3213620b80c868245c1f6a6eea5">More...</a><br /></td></tr>
+<tr class="separator:ac409e3213620b80c868245c1f6a6eea5"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a0757315cd84f91879021d7afe18e0545"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a0757315cd84f91879021d7afe18e0545">y</a> () const</td></tr>
+<tr class="memdesc:a0757315cd84f91879021d7afe18e0545"><td class="mdescLeft"> </td><td class="mdescRight">Read only access to the y coordinate. Can also use my_point[1]. Use the my_point[1] = 1.0; form if you need to set the value. <a href="classmingfx_1_1_point3.html#a0757315cd84f91879021d7afe18e0545">More...</a><br /></td></tr>
+<tr class="separator:a0757315cd84f91879021d7afe18e0545"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ac463e3a3ec3edd02c86505ea6400d8e6"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#ac463e3a3ec3edd02c86505ea6400d8e6">z</a> () const</td></tr>
+<tr class="memdesc:ac463e3a3ec3edd02c86505ea6400d8e6"><td class="mdescLeft"> </td><td class="mdescRight">Read only access to the z coordinate. Can also use my_point[2]. Use the my_point[2] = 1.0; form if you need to set the value. <a href="classmingfx_1_1_point3.html#ac463e3a3ec3edd02c86505ea6400d8e6">More...</a><br /></td></tr>
+<tr class="separator:ac463e3a3ec3edd02c86505ea6400d8e6"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:abbf85b5749b37869f4c1b98443ebbd9e"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#abbf85b5749b37869f4c1b98443ebbd9e">w</a> () const</td></tr>
+<tr class="memdesc:abbf85b5749b37869f4c1b98443ebbd9e"><td class="mdescLeft"> </td><td class="mdescRight">In homogeneous coordinates, the w coordinate for all points is 1.0. <a href="classmingfx_1_1_point3.html#abbf85b5749b37869f4c1b98443ebbd9e">More...</a><br /></td></tr>
+<tr class="separator:abbf85b5749b37869f4c1b98443ebbd9e"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:af0557bdc07452cf335e2b7e04fc0aa3c"><td class="memItemLeft" align="right" valign="top">const float * </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#af0557bdc07452cf335e2b7e04fc0aa3c">value_ptr</a> () const</td></tr>
+<tr class="memdesc:af0557bdc07452cf335e2b7e04fc0aa3c"><td class="mdescLeft"> </td><td class="mdescRight">Returns a const pointer to the raw data array. <a href="classmingfx_1_1_point3.html#af0557bdc07452cf335e2b7e04fc0aa3c">More...</a><br /></td></tr>
+<tr class="separator:af0557bdc07452cf335e2b7e04fc0aa3c"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a228a1f3754b8ee82b9bb148ce183fc5b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmingfx_1_1_point3.html">Point3</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a228a1f3754b8ee82b9bb148ce183fc5b">Lerp</a> (const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &b, float alpha) const</td></tr>
+<tr class="memdesc:a228a1f3754b8ee82b9bb148ce183fc5b"><td class="mdescLeft"> </td><td class="mdescRight">Linear interpolation between this point and another. Alpha=0.0 returns this point, and alpha=1.0 returns the other point, other values blend between the two. <a href="classmingfx_1_1_point3.html#a228a1f3754b8ee82b9bb148ce183fc5b">More...</a><br /></td></tr>
+<tr class="separator:a228a1f3754b8ee82b9bb148ce183fc5b"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:af554773b2d7f4492a0727e8e42efe002"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#af554773b2d7f4492a0727e8e42efe002">DistanceToPlane</a> (const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &plane_origin, const <a class="el" href="classmingfx_1_1_vector3.html">Vector3</a> &plane_normal)</td></tr>
+<tr class="memdesc:af554773b2d7f4492a0727e8e42efe002"><td class="mdescLeft"> </td><td class="mdescRight">Returns the shortest (i.e., perpendicular) distance from this point to a plane defined by a point and a normal. <a href="classmingfx_1_1_point3.html#af554773b2d7f4492a0727e8e42efe002">More...</a><br /></td></tr>
+<tr class="separator:af554773b2d7f4492a0727e8e42efe002"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ae31d5f91a03fabdf72b2fa54e177b743"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmingfx_1_1_point3.html">Point3</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#ae31d5f91a03fabdf72b2fa54e177b743">ClosestPointOnPlane</a> (const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &plane_origin, const <a class="el" href="classmingfx_1_1_vector3.html">Vector3</a> &plane_normal)</td></tr>
+<tr class="memdesc:ae31d5f91a03fabdf72b2fa54e177b743"><td class="mdescLeft"> </td><td class="mdescRight">Returns the perpendicular projection of this point onto a plane defined by a point and a normal. <a href="classmingfx_1_1_point3.html#ae31d5f91a03fabdf72b2fa54e177b743">More...</a><br /></td></tr>
+<tr class="separator:ae31d5f91a03fabdf72b2fa54e177b743"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a9dd5396f53b7006ec4cb63abffd90a7c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmingfx_1_1_point3.html">Point3</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a9dd5396f53b7006ec4cb63abffd90a7c">ClosestPoint</a> (const std::vector< <a class="el" href="classmingfx_1_1_point3.html">Point3</a> > &point_list)</td></tr>
+<tr class="memdesc:a9dd5396f53b7006ec4cb63abffd90a7c"><td class="mdescLeft"> </td><td class="mdescRight">Given a list of points, returns the closest in the last to the current point. <a href="classmingfx_1_1_point3.html#a9dd5396f53b7006ec4cb63abffd90a7c">More...</a><br /></td></tr>
+<tr class="separator:a9dd5396f53b7006ec4cb63abffd90a7c"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
+Static Public Member Functions</h2></td></tr>
+<tr class="memitem:aecb7c3137356cd4470851c54a47c7930"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#aecb7c3137356cd4470851c54a47c7930">Origin</a> ()</td></tr>
+<tr class="memdesc:aecb7c3137356cd4470851c54a47c7930"><td class="mdescLeft"> </td><td class="mdescRight">(0,0,0) - a shortcut for a special point that is frequently needed <a href="classmingfx_1_1_point3.html#aecb7c3137356cd4470851c54a47c7930">More...</a><br /></td></tr>
+<tr class="separator:aecb7c3137356cd4470851c54a47c7930"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a9983b62979f9ac5a11efea08d9d283ed"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a9983b62979f9ac5a11efea08d9d283ed">Zero</a> ()</td></tr>
+<tr class="memdesc:a9983b62979f9ac5a11efea08d9d283ed"><td class="mdescLeft"> </td><td class="mdescRight">(0,0,0) - a shortcut for a special point that is frequently needed <a href="classmingfx_1_1_point3.html#a9983b62979f9ac5a11efea08d9d283ed">More...</a><br /></td></tr>
+<tr class="separator:a9983b62979f9ac5a11efea08d9d283ed"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a2cfcbefe652720779e0d7beff1c86ece"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a2cfcbefe652720779e0d7beff1c86ece">One</a> ()</td></tr>
+<tr class="memdesc:a2cfcbefe652720779e0d7beff1c86ece"><td class="mdescLeft"> </td><td class="mdescRight">(1,1,1) - a shortcut for a special point that is frequently needed <a href="classmingfx_1_1_point3.html#a2cfcbefe652720779e0d7beff1c86ece">More...</a><br /></td></tr>
+<tr class="separator:a2cfcbefe652720779e0d7beff1c86ece"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a206691c31872e537eefbf897603dba74"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classmingfx_1_1_point3.html">Point3</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a206691c31872e537eefbf897603dba74">Lerp</a> (const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &a, const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &b, float alpha)</td></tr>
+<tr class="memdesc:a206691c31872e537eefbf897603dba74"><td class="mdescLeft"> </td><td class="mdescRight">Linear interpolation between two points. Alpha=0.0 returns 'a' and alpha=1.0 returns 'b', other values blend between the two. <a href="classmingfx_1_1_point3.html#a206691c31872e537eefbf897603dba74">More...</a><br /></td></tr>
+<tr class="separator:a206691c31872e537eefbf897603dba74"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<h2 class="groupheader">Constructor & Destructor Documentation</h2>
+<a id="ae8ab322852c24c6e03bed03cac443664"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ae8ab322852c24c6e03bed03cac443664">◆ </a></span>Point3() <span class="overload">[1/4]</span></h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">mingfx::Point3::Point3 </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Default point at the origin. </p>
+
+</div>
+</div>
+<a id="a29d113f0fa37fa04a642817c680fe953"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a29d113f0fa37fa04a642817c680fe953">◆ </a></span>Point3() <span class="overload">[2/4]</span></h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">mingfx::Point3::Point3 </td>
+ <td>(</td>
+ <td class="paramtype">float </td>
+ <td class="paramname"><em>x</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">float </td>
+ <td class="paramname"><em>y</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">float </td>
+ <td class="paramname"><em>z</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Constructs a point given (x,y,z,1), where the 1 comes from the use of homogeneous coordinates in computer graphics. </p>
+
+</div>
+</div>
+<a id="a062caf579ef643b25129cc35b3dbe756"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a062caf579ef643b25129cc35b3dbe756">◆ </a></span>Point3() <span class="overload">[3/4]</span></h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">mingfx::Point3::Point3 </td>
+ <td>(</td>
+ <td class="paramtype">float * </td>
+ <td class="paramname"><em>p</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Constructs a point given a pointer to x,y,z data. </p>
+
+</div>
+</div>
+<a id="a23534a1ce3d4466c303b9205bd21cd97"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a23534a1ce3d4466c303b9205bd21cd97">◆ </a></span>Point3() <span class="overload">[4/4]</span></h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">mingfx::Point3::Point3 </td>
+ <td>(</td>
+ <td class="paramtype">const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> & </td>
+ <td class="paramname"><em>p</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Copy constructor for point. </p>
+
+</div>
+</div>
+<a id="aa55aef76986cc7424c2a535d6fd1ab7a"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aa55aef76986cc7424c2a535d6fd1ab7a">◆ </a></span>~Point3()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">virtual mingfx::Point3::~Point3 </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Point destructor. </p>
+
+</div>
+</div>
+<h2 class="groupheader">Member Function Documentation</h2>
+<a id="a9dd5396f53b7006ec4cb63abffd90a7c"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a9dd5396f53b7006ec4cb63abffd90a7c">◆ </a></span>ClosestPoint()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="classmingfx_1_1_point3.html">Point3</a> mingfx::Point3::ClosestPoint </td>
+ <td>(</td>
+ <td class="paramtype">const std::vector< <a class="el" href="classmingfx_1_1_point3.html">Point3</a> > & </td>
+ <td class="paramname"><em>point_list</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Given a list of points, returns the closest in the last to the current point. </p>
+
+</div>
+</div>
+<a id="ae31d5f91a03fabdf72b2fa54e177b743"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ae31d5f91a03fabdf72b2fa54e177b743">◆ </a></span>ClosestPointOnPlane()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="classmingfx_1_1_point3.html">Point3</a> mingfx::Point3::ClosestPointOnPlane </td>
+ <td>(</td>
+ <td class="paramtype">const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> & </td>
+ <td class="paramname"><em>plane_origin</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const <a class="el" href="classmingfx_1_1_vector3.html">Vector3</a> & </td>
+ <td class="paramname"><em>plane_normal</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Returns the perpendicular projection of this point onto a plane defined by a point and a normal. </p>
+
+</div>
+</div>
+<a id="af554773b2d7f4492a0727e8e42efe002"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#af554773b2d7f4492a0727e8e42efe002">◆ </a></span>DistanceToPlane()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">float mingfx::Point3::DistanceToPlane </td>
+ <td>(</td>
+ <td class="paramtype">const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> & </td>
+ <td class="paramname"><em>plane_origin</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const <a class="el" href="classmingfx_1_1_vector3.html">Vector3</a> & </td>
+ <td class="paramname"><em>plane_normal</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Returns the shortest (i.e., perpendicular) distance from this point to a plane defined by a point and a normal. </p>
+
+</div>
+</div>
+<a id="a206691c31872e537eefbf897603dba74"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a206691c31872e537eefbf897603dba74">◆ </a></span>Lerp() <span class="overload">[1/2]</span></h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="classmingfx_1_1_point3.html">Point3</a> mingfx::Point3::Lerp </td>
+ <td>(</td>
+ <td class="paramtype">const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> & </td>
+ <td class="paramname"><em>a</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> & </td>
+ <td class="paramname"><em>b</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">float </td>
+ <td class="paramname"><em>alpha</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Linear interpolation between two points. Alpha=0.0 returns 'a' and alpha=1.0 returns 'b', other values blend between the two. </p>
+
+</div>
+</div>
+<a id="a228a1f3754b8ee82b9bb148ce183fc5b"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a228a1f3754b8ee82b9bb148ce183fc5b">◆ </a></span>Lerp() <span class="overload">[2/2]</span></h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="classmingfx_1_1_point3.html">Point3</a> mingfx::Point3::Lerp </td>
+ <td>(</td>
+ <td class="paramtype">const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> & </td>
+ <td class="paramname"><em>b</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">float </td>
+ <td class="paramname"><em>alpha</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td> const</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Linear interpolation between this point and another. Alpha=0.0 returns this point, and alpha=1.0 returns the other point, other values blend between the two. </p>
+
+</div>
+</div>
+<a id="a2cfcbefe652720779e0d7beff1c86ece"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a2cfcbefe652720779e0d7beff1c86ece">◆ </a></span>One()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static const <a class="el" href="classmingfx_1_1_point3.html">Point3</a>& mingfx::Point3::One </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>(1,1,1) - a shortcut for a special point that is frequently needed </p>
+
+</div>
+</div>
+<a id="acccf9d3fca27174c18ada3b33209c71e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#acccf9d3fca27174c18ada3b33209c71e">◆ </a></span>operator!=()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">bool mingfx::Point3::operator!= </td>
+ <td>(</td>
+ <td class="paramtype">const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> & </td>
+ <td class="paramname"><em>p</em></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Check for "inequality", taking floating point imprecision into account. </p>
+
+</div>
+</div>
+<a id="a8e54b18bfaa39f4b7048b85c9ca43c3d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a8e54b18bfaa39f4b7048b85c9ca43c3d">◆ </a></span>operator=()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="classmingfx_1_1_point3.html">Point3</a>& mingfx::Point3::operator= </td>
+ <td>(</td>
+ <td class="paramtype">const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> & </td>
+ <td class="paramname"><em>p</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Assignment operator. </p>
+
+</div>
+</div>
+<a id="ab22d5cc4631f26274ada550c90d39699"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ab22d5cc4631f26274ada550c90d39699">◆ </a></span>operator==()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">bool mingfx::Point3::operator== </td>
+ <td>(</td>
+ <td class="paramtype">const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> & </td>
+ <td class="paramname"><em>p</em></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Check for "equality", taking floating point imprecision into account. </p>
+
+</div>
+</div>
+<a id="a790468d68b6d957b22959f9078f85c3e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a790468d68b6d957b22959f9078f85c3e">◆ </a></span>operator[]() <span class="overload">[1/2]</span></h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">float& mingfx::Point3::operator[] </td>
+ <td>(</td>
+ <td class="paramtype">const int </td>
+ <td class="paramname"><em>i</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Returns a reference to the ith coordinate of the point. Use this accessor if you wish to set the coordinate rather than just request its value. Example: </p>
+<div class="fragment"><div class="line"><a class="code" href="classmingfx_1_1_point3.html#ae8ab322852c24c6e03bed03cac443664">Point3</a> a;</div>
+<div class="line">a[0] = 5.0; <span class="comment">// set the x-coordinate of the point</span></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="a3a586db5b58d5f1fdaddb1e33e84d566"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a3a586db5b58d5f1fdaddb1e33e84d566">◆ </a></span>operator[]() <span class="overload">[2/2]</span></h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">float mingfx::Point3::operator[] </td>
+ <td>(</td>
+ <td class="paramtype">const int </td>
+ <td class="paramname"><em>i</em></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Read only access to the ith coordinate of the point. </p>
+
+</div>
+</div>
+<a id="aecb7c3137356cd4470851c54a47c7930"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aecb7c3137356cd4470851c54a47c7930">◆ </a></span>Origin()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static const <a class="el" href="classmingfx_1_1_point3.html">Point3</a>& mingfx::Point3::Origin </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>(0,0,0) - a shortcut for a special point that is frequently needed </p>
+
+</div>
+</div>
+<a id="af0557bdc07452cf335e2b7e04fc0aa3c"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#af0557bdc07452cf335e2b7e04fc0aa3c">◆ </a></span>value_ptr()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">const float* mingfx::Point3::value_ptr </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Returns a const pointer to the raw data array. </p>
+
+</div>
+</div>
+<a id="abbf85b5749b37869f4c1b98443ebbd9e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#abbf85b5749b37869f4c1b98443ebbd9e">◆ </a></span>w()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">float mingfx::Point3::w </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>In homogeneous coordinates, the w coordinate for all points is 1.0. </p>
+
+<p class="definition">Definition at line <a class="el" href="point3_8h_source.html#l00104">104</a> of file <a class="el" href="point3_8h_source.html">point3.h</a>.</p>
+
+</div>
+</div>
+<a id="ac409e3213620b80c868245c1f6a6eea5"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ac409e3213620b80c868245c1f6a6eea5">◆ </a></span>x()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">float mingfx::Point3::x </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Read only access to the x coordinate. Can also use my_point[0]. Use the my_point[0] = 1.0; form if you need to set the value. </p>
+
+<p class="definition">Definition at line <a class="el" href="point3_8h_source.html#l00093">93</a> of file <a class="el" href="point3_8h_source.html">point3.h</a>.</p>
+
+</div>
+</div>
+<a id="a0757315cd84f91879021d7afe18e0545"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a0757315cd84f91879021d7afe18e0545">◆ </a></span>y()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">float mingfx::Point3::y </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Read only access to the y coordinate. Can also use my_point[1]. Use the my_point[1] = 1.0; form if you need to set the value. </p>
+
+<p class="definition">Definition at line <a class="el" href="point3_8h_source.html#l00097">97</a> of file <a class="el" href="point3_8h_source.html">point3.h</a>.</p>
+
+</div>
+</div>
+<a id="ac463e3a3ec3edd02c86505ea6400d8e6"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ac463e3a3ec3edd02c86505ea6400d8e6">◆ </a></span>z()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">float mingfx::Point3::z </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Read only access to the z coordinate. Can also use my_point[2]. Use the my_point[2] = 1.0; form if you need to set the value. </p>
+
+<p class="definition">Definition at line <a class="el" href="point3_8h_source.html#l00101">101</a> of file <a class="el" href="point3_8h_source.html">point3.h</a>.</p>
+
+</div>
+</div>
+<a id="a9983b62979f9ac5a11efea08d9d283ed"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a9983b62979f9ac5a11efea08d9d283ed">◆ </a></span>Zero()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static const <a class="el" href="classmingfx_1_1_point3.html">Point3</a>& mingfx::Point3::Zero </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>(0,0,0) - a shortcut for a special point that is frequently needed </p>
+
+</div>
+</div>
+<hr/>The documentation for this class was generated from the following file:<ul>
+<li>src/<a class="el" href="point3_8h_source.html">point3.h</a></li>
+</ul>
+</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>
|