diff options
author | David Walter Seikel | 2016-03-28 22:28:34 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-03-28 22:28:34 +1000 |
commit | 7028cbe09c688437910a25623098762bf0fa592d (patch) | |
tree | 10b5af58277d9880380c2251f109325542c4e6eb /libraries/irrlicht-1.8.1/doc/html/classirr_1_1core_1_1plane3d.html | |
parent | Move lemon to the src/others directory. (diff) | |
download | SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.zip SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.gz SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.bz2 SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.xz |
Move Irrlicht to src/others.
Diffstat (limited to 'libraries/irrlicht-1.8.1/doc/html/classirr_1_1core_1_1plane3d.html')
-rw-r--r-- | libraries/irrlicht-1.8.1/doc/html/classirr_1_1core_1_1plane3d.html | 927 |
1 files changed, 0 insertions, 927 deletions
diff --git a/libraries/irrlicht-1.8.1/doc/html/classirr_1_1core_1_1plane3d.html b/libraries/irrlicht-1.8.1/doc/html/classirr_1_1core_1_1plane3d.html deleted file mode 100644 index 647104b..0000000 --- a/libraries/irrlicht-1.8.1/doc/html/classirr_1_1core_1_1plane3d.html +++ /dev/null | |||
@@ -1,927 +0,0 @@ | |||
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
2 | <html xmlns="http://www.w3.org/1999/xhtml"> | ||
3 | <head> | ||
4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | ||
5 | <title>Irrlicht 3D Engine: irr::core::plane3d< T > Class Template Reference</title> | ||
6 | |||
7 | <link href="tabs.css" rel="stylesheet" type="text/css"/> | ||
8 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> | ||
9 | <link href="navtree.css" rel="stylesheet" type="text/css"/> | ||
10 | <script type="text/javascript" src="jquery.js"></script> | ||
11 | <script type="text/javascript" src="resize.js"></script> | ||
12 | <script type="text/javascript" src="navtree.js"></script> | ||
13 | <script type="text/javascript"> | ||
14 | $(document).ready(initResizable); | ||
15 | </script> | ||
16 | <link href="search/search.css" rel="stylesheet" type="text/css"/> | ||
17 | <script type="text/javascript" src="search/search.js"></script> | ||
18 | <script type="text/javascript"> | ||
19 | $(document).ready(function() { searchBox.OnSelectItem(0); }); | ||
20 | </script> | ||
21 | |||
22 | </head> | ||
23 | <body> | ||
24 | <div id="top"><!-- do not remove this div! --> | ||
25 | |||
26 | |||
27 | <div id="titlearea"> | ||
28 | <table cellspacing="0" cellpadding="0"> | ||
29 | <tbody> | ||
30 | <tr style="height: 56px;"> | ||
31 | |||
32 | <td id="projectlogo"><img alt="Logo" src="irrlichtlogo.png"/></td> | ||
33 | |||
34 | |||
35 | <td style="padding-left: 0.5em;"> | ||
36 | <div id="projectname">Irrlicht 3D Engine | ||
37 | |||
38 | </div> | ||
39 | |||
40 | </td> | ||
41 | |||
42 | |||
43 | |||
44 | |||
45 | <td> <div id="MSearchBox" class="MSearchBoxInactive"> | ||
46 | <span class="left"> | ||
47 | <img id="MSearchSelect" src="search/mag_sel.png" | ||
48 | onmouseover="return searchBox.OnSearchSelectShow()" | ||
49 | onmouseout="return searchBox.OnSearchSelectHide()" | ||
50 | alt=""/> | ||
51 | <input type="text" id="MSearchField" value="Search" accesskey="S" | ||
52 | onfocus="searchBox.OnSearchFieldFocus(true)" | ||
53 | onblur="searchBox.OnSearchFieldFocus(false)" | ||
54 | onkeyup="searchBox.OnSearchFieldChange(event)"/> | ||
55 | </span><span class="right"> | ||
56 | <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> | ||
57 | </span> | ||
58 | </div> | ||
59 | </td> | ||
60 | |||
61 | |||
62 | </tr> | ||
63 | </tbody> | ||
64 | </table> | ||
65 | </div> | ||
66 | |||
67 | <!-- Generated by Doxygen 1.7.5.1 --> | ||
68 | <script type="text/javascript"> | ||
69 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); | ||
70 | </script> | ||
71 | <script type="text/javascript" src="dynsections.js"></script> | ||
72 | </div> | ||
73 | <div id="side-nav" class="ui-resizable side-nav-resizable"> | ||
74 | <div id="nav-tree"> | ||
75 | <div id="nav-tree-contents"> | ||
76 | </div> | ||
77 | </div> | ||
78 | <div id="splitbar" style="-moz-user-select:none;" | ||
79 | class="ui-resizable-handle"> | ||
80 | </div> | ||
81 | </div> | ||
82 | <script type="text/javascript"> | ||
83 | initNavTree('classirr_1_1core_1_1plane3d.html',''); | ||
84 | </script> | ||
85 | <div id="doc-content"> | ||
86 | <div class="header"> | ||
87 | <div class="summary"> | ||
88 | <a href="#pub-methods">Public Member Functions</a> | | ||
89 | <a href="#pub-attribs">Public Attributes</a> </div> | ||
90 | <div class="headertitle"> | ||
91 | <div class="title">irr::core::plane3d< T > Class Template Reference</div> </div> | ||
92 | </div> | ||
93 | <div class="contents"> | ||
94 | <!-- doxytag: class="irr::core::plane3d" --> | ||
95 | <p>Template plane class with some intersection testing methods. | ||
96 | <a href="classirr_1_1core_1_1plane3d.html#details">More...</a></p> | ||
97 | |||
98 | <p><code>#include <<a class="el" href="plane3d_8h_source.html">plane3d.h</a>></code></p> | ||
99 | |||
100 | <p><a href="classirr_1_1core_1_1plane3d-members.html">List of all members.</a></p> | ||
101 | <h2><a name="pub-methods"></a> | ||
102 | Public Member Functions</h2> | ||
103 | <ul> | ||
104 | <li><a class="el" href="classirr_1_1core_1_1plane3d.html#a56ab7a294a2ae8570c719321ae356d27">plane3d</a> () | ||
105 | <li><a class="el" href="classirr_1_1core_1_1plane3d.html#a83ddb90b9dd873dbd5ec1d1ae3d1eec2">plane3d</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &MPoint, const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &<a class="el" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719">Normal</a>) | ||
106 | <li><a class="el" href="classirr_1_1core_1_1plane3d.html#af754b386af5b0296a47d97f1c9e39d55">plane3d</a> (T px, T py, T pz, T nx, T ny, T nz) | ||
107 | <li><a class="el" href="classirr_1_1core_1_1plane3d.html#a79aa2659564f880e71db761516d91b9e">plane3d</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &point1, const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &point2, const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &point3) | ||
108 | <li><a class="el" href="classirr_1_1core_1_1plane3d.html#a3f3171c926e019c47e56e2eb0ba9a9bf">plane3d</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &normal, const T d) | ||
109 | <li><a class="el" href="namespaceirr_1_1core.html#a8a9999eb0d151083f48afe5f7d17a96c">EIntersectionRelation3D</a> <a class="el" href="classirr_1_1core_1_1plane3d.html#a0ef82b15cefb92fc8a1a93f2465c95cb">classifyPointRelation</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &point) const | ||
110 | <dl class="el"><dd class="mdescRight">Classifies the relation of a point to this plane. <a href="#a0ef82b15cefb92fc8a1a93f2465c95cb"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1plane3d.html#aa238ddaac4eb9d2781ccac678d594a78">existsIntersection</a> (const <a class="el" href="classirr_1_1core_1_1plane3d.html">plane3d</a>< T > &other) const | ||
111 | <dl class="el"><dd class="mdescRight">Tests if there is an intersection with the other plane. <a href="#aa238ddaac4eb9d2781ccac678d594a78"></a><br/></dl><li>T <a class="el" href="classirr_1_1core_1_1plane3d.html#a1877d6c25a437f2f00a664a1ac3d247f">getDistanceTo</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &point) const | ||
112 | <dl class="el"><dd class="mdescRight">Get the distance to a point. <a href="#a1877d6c25a437f2f00a664a1ac3d247f"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1plane3d.html#a9da6378730742e46bd1e73624b048641">getIntersectionWithLimitedLine</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &linePoint1, const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &linePoint2, <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &outIntersection) const | ||
113 | <dl class="el"><dd class="mdescRight">Get an intersection with a 3d line, limited between two 3d points. <a href="#a9da6378730742e46bd1e73624b048641"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1plane3d.html#a81c6fd667e7018805f9fb388721e2f30">getIntersectionWithLine</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &linePoint, const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &lineVect, <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &outIntersection) const | ||
114 | <dl class="el"><dd class="mdescRight">Get an intersection with a 3d line. <a href="#a81c6fd667e7018805f9fb388721e2f30"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1plane3d.html#a8c611fd6346a361bbf34eb0e4fbd3fe0">getIntersectionWithPlane</a> (const <a class="el" href="classirr_1_1core_1_1plane3d.html">plane3d</a>< T > &other, <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &outLinePoint, <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &outLineVect) const | ||
115 | <dl class="el"><dd class="mdescRight">Intersects this plane with another. <a href="#a8c611fd6346a361bbf34eb0e4fbd3fe0"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1plane3d.html#a42591d9bdd8dd03bb6b14836b6e5af7b">getIntersectionWithPlanes</a> (const <a class="el" href="classirr_1_1core_1_1plane3d.html">plane3d</a>< T > &o1, const <a class="el" href="classirr_1_1core_1_1plane3d.html">plane3d</a>< T > &o2, <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &outPoint) const | ||
116 | <dl class="el"><dd class="mdescRight">Get the intersection point with two other planes if there is one. <a href="#a42591d9bdd8dd03bb6b14836b6e5af7b"></a><br/></dl><li><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> <a class="el" href="classirr_1_1core_1_1plane3d.html#a572803fab72c142ad186b364da3193cb">getKnownIntersectionWithLine</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &linePoint1, const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &linePoint2) const | ||
117 | <dl class="el"><dd class="mdescRight">Get percentage of line between two points where an intersection with this plane happens. <a href="#a572803fab72c142ad186b364da3193cb"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > <a class="el" href="classirr_1_1core_1_1plane3d.html#ae95084f1f1d942d2416aeaef247882fd">getMemberPoint</a> () const | ||
118 | <dl class="el"><dd class="mdescRight">Gets a member point of the plane. <a href="#ae95084f1f1d942d2416aeaef247882fd"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1plane3d.html#a5b769b842600d377415d594f0db09a3e">isFrontFacing</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &lookDirection) const | ||
119 | <dl class="el"><dd class="mdescRight">Test if the triangle would be front or backfacing from any point. <a href="#a5b769b842600d377415d594f0db09a3e"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1plane3d.html#a1ef3ad54e652a02f3ea8c97884332f06">operator!=</a> (const <a class="el" href="classirr_1_1core_1_1plane3d.html">plane3d</a>< T > &other) const | ||
120 | <li>bool <a class="el" href="classirr_1_1core_1_1plane3d.html#a4ea013907b2e44c91cc9defacb7a8d53">operator==</a> (const <a class="el" href="classirr_1_1core_1_1plane3d.html">plane3d</a>< T > &other) const | ||
121 | <li>void <a class="el" href="classirr_1_1core_1_1plane3d.html#a65c1748d516ddc820b6b970f9367f1ff">recalculateD</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &MPoint) | ||
122 | <dl class="el"><dd class="mdescRight">Recalculates the distance from origin by applying a new member point to the plane. <a href="#a65c1748d516ddc820b6b970f9367f1ff"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1plane3d.html#a74c75911a10cc048c546ca5ea3646232">setPlane</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &point, const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &nvector) | ||
123 | <li>void <a class="el" href="classirr_1_1core_1_1plane3d.html#a1f68018de37d6bc904c33192816b899b">setPlane</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &nvect, T d) | ||
124 | <li>void <a class="el" href="classirr_1_1core_1_1plane3d.html#a32ca1fd89b65630b4d77641005ffa94d">setPlane</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &point1, const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &point2, const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &point3) | ||
125 | </ul> | ||
126 | <h2><a name="pub-attribs"></a> | ||
127 | Public Attributes</h2> | ||
128 | <ul> | ||
129 | <li>T <a class="el" href="classirr_1_1core_1_1plane3d.html#afa304cf77cf1a3aae2351d5add5606a8">D</a> | ||
130 | <dl class="el"><dd class="mdescRight">Distance from origin. <a href="#afa304cf77cf1a3aae2351d5add5606a8"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > <a class="el" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719">Normal</a> | ||
131 | <dl class="el"><dd class="mdescRight">Normal vector of the plane. <a href="#a932ca6e90e55cdceedb4f15ab706b719"></a><br/></dl></ul> | ||
132 | <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> | ||
133 | <div class="textblock"><h3>template<class T><br/> | ||
134 | class irr::core::plane3d< T ></h3> | ||
135 | |||
136 | <p>Template plane class with some intersection testing methods. </p> | ||
137 | <p>It has to be ensured, that the normal is always normalized. The constructors and setters of this class will not ensure this automatically. So any normal passed in has to be normalized in advance. No change to the normal will be made by any of the class methods. </p> | ||
138 | |||
139 | <p>Definition at line <a class="el" href="plane3d_8h_source.html#l00033">33</a> of file <a class="el" href="plane3d_8h_source.html">plane3d.h</a>.</p> | ||
140 | </div><hr/><h2>Constructor & Destructor Documentation</h2> | ||
141 | <a class="anchor" id="a56ab7a294a2ae8570c719321ae356d27"></a><!-- doxytag: member="irr::core::plane3d::plane3d" ref="a56ab7a294a2ae8570c719321ae356d27" args="()" --> | ||
142 | <div class="memitem"> | ||
143 | <div class="memproto"> | ||
144 | <div class="memtemplate"> | ||
145 | template<class T> </div> | ||
146 | <table class="memname"> | ||
147 | <tr> | ||
148 | <td class="memname"><a class="el" href="classirr_1_1core_1_1plane3d.html">irr::core::plane3d</a>< T >::<a class="el" href="classirr_1_1core_1_1plane3d.html">plane3d</a> </td> | ||
149 | <td>(</td> | ||
150 | <td class="paramname"></td><td>)</td> | ||
151 | <td><code> [inline]</code></td> | ||
152 | </tr> | ||
153 | </table> | ||
154 | </div> | ||
155 | <div class="memdoc"> | ||
156 | |||
157 | <p>Definition at line <a class="el" href="plane3d_8h_source.html#l00039">39</a> of file <a class="el" href="plane3d_8h_source.html">plane3d.h</a>.</p> | ||
158 | |||
159 | </div> | ||
160 | </div> | ||
161 | <a class="anchor" id="a83ddb90b9dd873dbd5ec1d1ae3d1eec2"></a><!-- doxytag: member="irr::core::plane3d::plane3d" ref="a83ddb90b9dd873dbd5ec1d1ae3d1eec2" args="(const vector3d< T > &MPoint, const vector3d< T > &Normal)" --> | ||
162 | <div class="memitem"> | ||
163 | <div class="memproto"> | ||
164 | <div class="memtemplate"> | ||
165 | template<class T> </div> | ||
166 | <table class="memname"> | ||
167 | <tr> | ||
168 | <td class="memname"><a class="el" href="classirr_1_1core_1_1plane3d.html">irr::core::plane3d</a>< T >::<a class="el" href="classirr_1_1core_1_1plane3d.html">plane3d</a> </td> | ||
169 | <td>(</td> | ||
170 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
171 | <td class="paramname"><em>MPoint</em>, </td> | ||
172 | </tr> | ||
173 | <tr> | ||
174 | <td class="paramkey"></td> | ||
175 | <td></td> | ||
176 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
177 | <td class="paramname"><em>Normal</em> </td> | ||
178 | </tr> | ||
179 | <tr> | ||
180 | <td></td> | ||
181 | <td>)</td> | ||
182 | <td></td><td><code> [inline]</code></td> | ||
183 | </tr> | ||
184 | </table> | ||
185 | </div> | ||
186 | <div class="memdoc"> | ||
187 | |||
188 | <p>Definition at line <a class="el" href="plane3d_8h_source.html#l00041">41</a> of file <a class="el" href="plane3d_8h_source.html">plane3d.h</a>.</p> | ||
189 | |||
190 | </div> | ||
191 | </div> | ||
192 | <a class="anchor" id="af754b386af5b0296a47d97f1c9e39d55"></a><!-- doxytag: member="irr::core::plane3d::plane3d" ref="af754b386af5b0296a47d97f1c9e39d55" args="(T px, T py, T pz, T nx, T ny, T nz)" --> | ||
193 | <div class="memitem"> | ||
194 | <div class="memproto"> | ||
195 | <div class="memtemplate"> | ||
196 | template<class T> </div> | ||
197 | <table class="memname"> | ||
198 | <tr> | ||
199 | <td class="memname"><a class="el" href="classirr_1_1core_1_1plane3d.html">irr::core::plane3d</a>< T >::<a class="el" href="classirr_1_1core_1_1plane3d.html">plane3d</a> </td> | ||
200 | <td>(</td> | ||
201 | <td class="paramtype">T </td> | ||
202 | <td class="paramname"><em>px</em>, </td> | ||
203 | </tr> | ||
204 | <tr> | ||
205 | <td class="paramkey"></td> | ||
206 | <td></td> | ||
207 | <td class="paramtype">T </td> | ||
208 | <td class="paramname"><em>py</em>, </td> | ||
209 | </tr> | ||
210 | <tr> | ||
211 | <td class="paramkey"></td> | ||
212 | <td></td> | ||
213 | <td class="paramtype">T </td> | ||
214 | <td class="paramname"><em>pz</em>, </td> | ||
215 | </tr> | ||
216 | <tr> | ||
217 | <td class="paramkey"></td> | ||
218 | <td></td> | ||
219 | <td class="paramtype">T </td> | ||
220 | <td class="paramname"><em>nx</em>, </td> | ||
221 | </tr> | ||
222 | <tr> | ||
223 | <td class="paramkey"></td> | ||
224 | <td></td> | ||
225 | <td class="paramtype">T </td> | ||
226 | <td class="paramname"><em>ny</em>, </td> | ||
227 | </tr> | ||
228 | <tr> | ||
229 | <td class="paramkey"></td> | ||
230 | <td></td> | ||
231 | <td class="paramtype">T </td> | ||
232 | <td class="paramname"><em>nz</em> </td> | ||
233 | </tr> | ||
234 | <tr> | ||
235 | <td></td> | ||
236 | <td>)</td> | ||
237 | <td></td><td><code> [inline]</code></td> | ||
238 | </tr> | ||
239 | </table> | ||
240 | </div> | ||
241 | <div class="memdoc"> | ||
242 | |||
243 | <p>Definition at line <a class="el" href="plane3d_8h_source.html#l00043">43</a> of file <a class="el" href="plane3d_8h_source.html">plane3d.h</a>.</p> | ||
244 | |||
245 | </div> | ||
246 | </div> | ||
247 | <a class="anchor" id="a79aa2659564f880e71db761516d91b9e"></a><!-- doxytag: member="irr::core::plane3d::plane3d" ref="a79aa2659564f880e71db761516d91b9e" args="(const vector3d< T > &point1, const vector3d< T > &point2, const vector3d< T > &point3)" --> | ||
248 | <div class="memitem"> | ||
249 | <div class="memproto"> | ||
250 | <div class="memtemplate"> | ||
251 | template<class T> </div> | ||
252 | <table class="memname"> | ||
253 | <tr> | ||
254 | <td class="memname"><a class="el" href="classirr_1_1core_1_1plane3d.html">irr::core::plane3d</a>< T >::<a class="el" href="classirr_1_1core_1_1plane3d.html">plane3d</a> </td> | ||
255 | <td>(</td> | ||
256 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
257 | <td class="paramname"><em>point1</em>, </td> | ||
258 | </tr> | ||
259 | <tr> | ||
260 | <td class="paramkey"></td> | ||
261 | <td></td> | ||
262 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
263 | <td class="paramname"><em>point2</em>, </td> | ||
264 | </tr> | ||
265 | <tr> | ||
266 | <td class="paramkey"></td> | ||
267 | <td></td> | ||
268 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
269 | <td class="paramname"><em>point3</em> </td> | ||
270 | </tr> | ||
271 | <tr> | ||
272 | <td></td> | ||
273 | <td>)</td> | ||
274 | <td></td><td><code> [inline]</code></td> | ||
275 | </tr> | ||
276 | </table> | ||
277 | </div> | ||
278 | <div class="memdoc"> | ||
279 | |||
280 | <p>Definition at line <a class="el" href="plane3d_8h_source.html#l00045">45</a> of file <a class="el" href="plane3d_8h_source.html">plane3d.h</a>.</p> | ||
281 | |||
282 | </div> | ||
283 | </div> | ||
284 | <a class="anchor" id="a3f3171c926e019c47e56e2eb0ba9a9bf"></a><!-- doxytag: member="irr::core::plane3d::plane3d" ref="a3f3171c926e019c47e56e2eb0ba9a9bf" args="(const vector3d< T > &normal, const T d)" --> | ||
285 | <div class="memitem"> | ||
286 | <div class="memproto"> | ||
287 | <div class="memtemplate"> | ||
288 | template<class T> </div> | ||
289 | <table class="memname"> | ||
290 | <tr> | ||
291 | <td class="memname"><a class="el" href="classirr_1_1core_1_1plane3d.html">irr::core::plane3d</a>< T >::<a class="el" href="classirr_1_1core_1_1plane3d.html">plane3d</a> </td> | ||
292 | <td>(</td> | ||
293 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
294 | <td class="paramname"><em>normal</em>, </td> | ||
295 | </tr> | ||
296 | <tr> | ||
297 | <td class="paramkey"></td> | ||
298 | <td></td> | ||
299 | <td class="paramtype">const T </td> | ||
300 | <td class="paramname"><em>d</em> </td> | ||
301 | </tr> | ||
302 | <tr> | ||
303 | <td></td> | ||
304 | <td>)</td> | ||
305 | <td></td><td><code> [inline]</code></td> | ||
306 | </tr> | ||
307 | </table> | ||
308 | </div> | ||
309 | <div class="memdoc"> | ||
310 | |||
311 | <p>Definition at line <a class="el" href="plane3d_8h_source.html#l00048">48</a> of file <a class="el" href="plane3d_8h_source.html">plane3d.h</a>.</p> | ||
312 | |||
313 | </div> | ||
314 | </div> | ||
315 | <hr/><h2>Member Function Documentation</h2> | ||
316 | <a class="anchor" id="a0ef82b15cefb92fc8a1a93f2465c95cb"></a><!-- doxytag: member="irr::core::plane3d::classifyPointRelation" ref="a0ef82b15cefb92fc8a1a93f2465c95cb" args="(const vector3d< T > &point) const " --> | ||
317 | <div class="memitem"> | ||
318 | <div class="memproto"> | ||
319 | <div class="memtemplate"> | ||
320 | template<class T> </div> | ||
321 | <table class="memname"> | ||
322 | <tr> | ||
323 | <td class="memname"><a class="el" href="namespaceirr_1_1core.html#a8a9999eb0d151083f48afe5f7d17a96c">EIntersectionRelation3D</a> <a class="el" href="classirr_1_1core_1_1plane3d.html">irr::core::plane3d</a>< T >::classifyPointRelation </td> | ||
324 | <td>(</td> | ||
325 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
326 | <td class="paramname"><em>point</em></td><td>)</td> | ||
327 | <td> const<code> [inline]</code></td> | ||
328 | </tr> | ||
329 | </table> | ||
330 | </div> | ||
331 | <div class="memdoc"> | ||
332 | |||
333 | <p>Classifies the relation of a point to this plane. </p> | ||
334 | <dl><dt><b>Parameters:</b></dt><dd> | ||
335 | <table class="params"> | ||
336 | <tr><td class="paramname">point</td><td>Point to classify its relation. </td></tr> | ||
337 | </table> | ||
338 | </dd> | ||
339 | </dl> | ||
340 | <dl class="return"><dt><b>Returns:</b></dt><dd>ISREL3D_FRONT if the point is in front of the plane, ISREL3D_BACK if the point is behind of the plane, and ISREL3D_PLANAR if the point is within the plane. </dd></dl> | ||
341 | |||
342 | <p>Definition at line <a class="el" href="plane3d_8h_source.html#l00135">135</a> of file <a class="el" href="plane3d_8h_source.html">plane3d.h</a>.</p> | ||
343 | |||
344 | </div> | ||
345 | </div> | ||
346 | <a class="anchor" id="aa238ddaac4eb9d2781ccac678d594a78"></a><!-- doxytag: member="irr::core::plane3d::existsIntersection" ref="aa238ddaac4eb9d2781ccac678d594a78" args="(const plane3d< T > &other) const " --> | ||
347 | <div class="memitem"> | ||
348 | <div class="memproto"> | ||
349 | <div class="memtemplate"> | ||
350 | template<class T> </div> | ||
351 | <table class="memname"> | ||
352 | <tr> | ||
353 | <td class="memname">bool <a class="el" href="classirr_1_1core_1_1plane3d.html">irr::core::plane3d</a>< T >::existsIntersection </td> | ||
354 | <td>(</td> | ||
355 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1plane3d.html">plane3d</a>< T > & </td> | ||
356 | <td class="paramname"><em>other</em></td><td>)</td> | ||
357 | <td> const<code> [inline]</code></td> | ||
358 | </tr> | ||
359 | </table> | ||
360 | </div> | ||
361 | <div class="memdoc"> | ||
362 | |||
363 | <p>Tests if there is an intersection with the other plane. </p> | ||
364 | <dl class="return"><dt><b>Returns:</b></dt><dd>True if there is a intersection. </dd></dl> | ||
365 | |||
366 | <p>Definition at line <a class="el" href="plane3d_8h_source.html#l00162">162</a> of file <a class="el" href="plane3d_8h_source.html">plane3d.h</a>.</p> | ||
367 | |||
368 | </div> | ||
369 | </div> | ||
370 | <a class="anchor" id="a1877d6c25a437f2f00a664a1ac3d247f"></a><!-- doxytag: member="irr::core::plane3d::getDistanceTo" ref="a1877d6c25a437f2f00a664a1ac3d247f" args="(const vector3d< T > &point) const " --> | ||
371 | <div class="memitem"> | ||
372 | <div class="memproto"> | ||
373 | <div class="memtemplate"> | ||
374 | template<class T> </div> | ||
375 | <table class="memname"> | ||
376 | <tr> | ||
377 | <td class="memname">T <a class="el" href="classirr_1_1core_1_1plane3d.html">irr::core::plane3d</a>< T >::getDistanceTo </td> | ||
378 | <td>(</td> | ||
379 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
380 | <td class="paramname"><em>point</em></td><td>)</td> | ||
381 | <td> const<code> [inline]</code></td> | ||
382 | </tr> | ||
383 | </table> | ||
384 | </div> | ||
385 | <div class="memdoc"> | ||
386 | |||
387 | <p>Get the distance to a point. </p> | ||
388 | <p>Note that this only works if the normal is normalized. </p> | ||
389 | |||
390 | <p>Definition at line <a class="el" href="plane3d_8h_source.html#l00222">222</a> of file <a class="el" href="plane3d_8h_source.html">plane3d.h</a>.</p> | ||
391 | |||
392 | </div> | ||
393 | </div> | ||
394 | <a class="anchor" id="a9da6378730742e46bd1e73624b048641"></a><!-- doxytag: member="irr::core::plane3d::getIntersectionWithLimitedLine" ref="a9da6378730742e46bd1e73624b048641" args="(const vector3d< T > &linePoint1, const vector3d< T > &linePoint2, vector3d< T > &outIntersection) const " --> | ||
395 | <div class="memitem"> | ||
396 | <div class="memproto"> | ||
397 | <div class="memtemplate"> | ||
398 | template<class T> </div> | ||
399 | <table class="memname"> | ||
400 | <tr> | ||
401 | <td class="memname">bool <a class="el" href="classirr_1_1core_1_1plane3d.html">irr::core::plane3d</a>< T >::getIntersectionWithLimitedLine </td> | ||
402 | <td>(</td> | ||
403 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
404 | <td class="paramname"><em>linePoint1</em>, </td> | ||
405 | </tr> | ||
406 | <tr> | ||
407 | <td class="paramkey"></td> | ||
408 | <td></td> | ||
409 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
410 | <td class="paramname"><em>linePoint2</em>, </td> | ||
411 | </tr> | ||
412 | <tr> | ||
413 | <td class="paramkey"></td> | ||
414 | <td></td> | ||
415 | <td class="paramtype"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
416 | <td class="paramname"><em>outIntersection</em> </td> | ||
417 | </tr> | ||
418 | <tr> | ||
419 | <td></td> | ||
420 | <td>)</td> | ||
421 | <td></td><td> const<code> [inline]</code></td> | ||
422 | </tr> | ||
423 | </table> | ||
424 | </div> | ||
425 | <div class="memdoc"> | ||
426 | |||
427 | <p>Get an intersection with a 3d line, limited between two 3d points. </p> | ||
428 | <dl><dt><b>Parameters:</b></dt><dd> | ||
429 | <table class="params"> | ||
430 | <tr><td class="paramname">linePoint1</td><td>Point 1 of the line. </td></tr> | ||
431 | <tr><td class="paramname">linePoint2</td><td>Point 2 of the line. </td></tr> | ||
432 | <tr><td class="paramname">outIntersection</td><td>Place to store the intersection point, if there is one. </td></tr> | ||
433 | </table> | ||
434 | </dd> | ||
435 | </dl> | ||
436 | <dl class="return"><dt><b>Returns:</b></dt><dd>True if there was an intersection, false if there was not. </dd></dl> | ||
437 | |||
438 | <p>Definition at line <a class="el" href="plane3d_8h_source.html#l00121">121</a> of file <a class="el" href="plane3d_8h_source.html">plane3d.h</a>.</p> | ||
439 | |||
440 | </div> | ||
441 | </div> | ||
442 | <a class="anchor" id="a81c6fd667e7018805f9fb388721e2f30"></a><!-- doxytag: member="irr::core::plane3d::getIntersectionWithLine" ref="a81c6fd667e7018805f9fb388721e2f30" args="(const vector3d< T > &linePoint, const vector3d< T > &lineVect, vector3d< T > &outIntersection) const " --> | ||
443 | <div class="memitem"> | ||
444 | <div class="memproto"> | ||
445 | <div class="memtemplate"> | ||
446 | template<class T> </div> | ||
447 | <table class="memname"> | ||
448 | <tr> | ||
449 | <td class="memname">bool <a class="el" href="classirr_1_1core_1_1plane3d.html">irr::core::plane3d</a>< T >::getIntersectionWithLine </td> | ||
450 | <td>(</td> | ||
451 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
452 | <td class="paramname"><em>linePoint</em>, </td> | ||
453 | </tr> | ||
454 | <tr> | ||
455 | <td class="paramkey"></td> | ||
456 | <td></td> | ||
457 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
458 | <td class="paramname"><em>lineVect</em>, </td> | ||
459 | </tr> | ||
460 | <tr> | ||
461 | <td class="paramkey"></td> | ||
462 | <td></td> | ||
463 | <td class="paramtype"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
464 | <td class="paramname"><em>outIntersection</em> </td> | ||
465 | </tr> | ||
466 | <tr> | ||
467 | <td></td> | ||
468 | <td>)</td> | ||
469 | <td></td><td> const<code> [inline]</code></td> | ||
470 | </tr> | ||
471 | </table> | ||
472 | </div> | ||
473 | <div class="memdoc"> | ||
474 | |||
475 | <p>Get an intersection with a 3d line. </p> | ||
476 | <dl><dt><b>Parameters:</b></dt><dd> | ||
477 | <table class="params"> | ||
478 | <tr><td class="paramname">lineVect</td><td>Vector of the line to intersect with. </td></tr> | ||
479 | <tr><td class="paramname">linePoint</td><td>Point of the line to intersect with. </td></tr> | ||
480 | <tr><td class="paramname">outIntersection</td><td>Place to store the intersection point, if there is one. </td></tr> | ||
481 | </table> | ||
482 | </dd> | ||
483 | </dl> | ||
484 | <dl class="return"><dt><b>Returns:</b></dt><dd>True if there was an intersection, false if there was not. </dd></dl> | ||
485 | |||
486 | <p>Definition at line <a class="el" href="plane3d_8h_source.html#l00086">86</a> of file <a class="el" href="plane3d_8h_source.html">plane3d.h</a>.</p> | ||
487 | |||
488 | <p>Referenced by <a class="el" href="plane3d_8h_source.html#l00121">irr::core::plane3d< f32 >::getIntersectionWithLimitedLine()</a>, and <a class="el" href="plane3d_8h_source.html#l00195">irr::core::plane3d< f32 >::getIntersectionWithPlanes()</a>.</p> | ||
489 | |||
490 | </div> | ||
491 | </div> | ||
492 | <a class="anchor" id="a8c611fd6346a361bbf34eb0e4fbd3fe0"></a><!-- doxytag: member="irr::core::plane3d::getIntersectionWithPlane" ref="a8c611fd6346a361bbf34eb0e4fbd3fe0" args="(const plane3d< T > &other, vector3d< T > &outLinePoint, vector3d< T > &outLineVect) const " --> | ||
493 | <div class="memitem"> | ||
494 | <div class="memproto"> | ||
495 | <div class="memtemplate"> | ||
496 | template<class T> </div> | ||
497 | <table class="memname"> | ||
498 | <tr> | ||
499 | <td class="memname">bool <a class="el" href="classirr_1_1core_1_1plane3d.html">irr::core::plane3d</a>< T >::getIntersectionWithPlane </td> | ||
500 | <td>(</td> | ||
501 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1plane3d.html">plane3d</a>< T > & </td> | ||
502 | <td class="paramname"><em>other</em>, </td> | ||
503 | </tr> | ||
504 | <tr> | ||
505 | <td class="paramkey"></td> | ||
506 | <td></td> | ||
507 | <td class="paramtype"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
508 | <td class="paramname"><em>outLinePoint</em>, </td> | ||
509 | </tr> | ||
510 | <tr> | ||
511 | <td class="paramkey"></td> | ||
512 | <td></td> | ||
513 | <td class="paramtype"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
514 | <td class="paramname"><em>outLineVect</em> </td> | ||
515 | </tr> | ||
516 | <tr> | ||
517 | <td></td> | ||
518 | <td>)</td> | ||
519 | <td></td><td> const<code> [inline]</code></td> | ||
520 | </tr> | ||
521 | </table> | ||
522 | </div> | ||
523 | <div class="memdoc"> | ||
524 | |||
525 | <p>Intersects this plane with another. </p> | ||
526 | <dl><dt><b>Parameters:</b></dt><dd> | ||
527 | <table class="params"> | ||
528 | <tr><td class="paramname">other</td><td>Other plane to intersect with. </td></tr> | ||
529 | <tr><td class="paramname">outLinePoint</td><td>Base point of intersection line. </td></tr> | ||
530 | <tr><td class="paramname">outLineVect</td><td>Vector of intersection. </td></tr> | ||
531 | </table> | ||
532 | </dd> | ||
533 | </dl> | ||
534 | <dl class="return"><dt><b>Returns:</b></dt><dd>True if there is a intersection, false if not. </dd></dl> | ||
535 | |||
536 | <p>Definition at line <a class="el" href="plane3d_8h_source.html#l00173">173</a> of file <a class="el" href="plane3d_8h_source.html">plane3d.h</a>.</p> | ||
537 | |||
538 | <p>Referenced by <a class="el" href="plane3d_8h_source.html#l00195">irr::core::plane3d< f32 >::getIntersectionWithPlanes()</a>.</p> | ||
539 | |||
540 | </div> | ||
541 | </div> | ||
542 | <a class="anchor" id="a42591d9bdd8dd03bb6b14836b6e5af7b"></a><!-- doxytag: member="irr::core::plane3d::getIntersectionWithPlanes" ref="a42591d9bdd8dd03bb6b14836b6e5af7b" args="(const plane3d< T > &o1, const plane3d< T > &o2, vector3d< T > &outPoint) const " --> | ||
543 | <div class="memitem"> | ||
544 | <div class="memproto"> | ||
545 | <div class="memtemplate"> | ||
546 | template<class T> </div> | ||
547 | <table class="memname"> | ||
548 | <tr> | ||
549 | <td class="memname">bool <a class="el" href="classirr_1_1core_1_1plane3d.html">irr::core::plane3d</a>< T >::getIntersectionWithPlanes </td> | ||
550 | <td>(</td> | ||
551 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1plane3d.html">plane3d</a>< T > & </td> | ||
552 | <td class="paramname"><em>o1</em>, </td> | ||
553 | </tr> | ||
554 | <tr> | ||
555 | <td class="paramkey"></td> | ||
556 | <td></td> | ||
557 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1plane3d.html">plane3d</a>< T > & </td> | ||
558 | <td class="paramname"><em>o2</em>, </td> | ||
559 | </tr> | ||
560 | <tr> | ||
561 | <td class="paramkey"></td> | ||
562 | <td></td> | ||
563 | <td class="paramtype"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
564 | <td class="paramname"><em>outPoint</em> </td> | ||
565 | </tr> | ||
566 | <tr> | ||
567 | <td></td> | ||
568 | <td>)</td> | ||
569 | <td></td><td> const<code> [inline]</code></td> | ||
570 | </tr> | ||
571 | </table> | ||
572 | </div> | ||
573 | <div class="memdoc"> | ||
574 | |||
575 | <p>Get the intersection point with two other planes if there is one. </p> | ||
576 | |||
577 | <p>Definition at line <a class="el" href="plane3d_8h_source.html#l00195">195</a> of file <a class="el" href="plane3d_8h_source.html">plane3d.h</a>.</p> | ||
578 | |||
579 | <p>Referenced by <a class="el" href="_s_view_frustum_8h_source.html#l00168">irr::scene::SViewFrustum::getFarLeftDown()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00158">irr::scene::SViewFrustum::getFarLeftUp()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00188">irr::scene::SViewFrustum::getFarRightDown()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00178">irr::scene::SViewFrustum::getFarRightUp()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00208">irr::scene::SViewFrustum::getNearLeftDown()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00198">irr::scene::SViewFrustum::getNearLeftUp()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00228">irr::scene::SViewFrustum::getNearRightDown()</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00218">irr::scene::SViewFrustum::getNearRightUp()</a>.</p> | ||
580 | |||
581 | </div> | ||
582 | </div> | ||
583 | <a class="anchor" id="a572803fab72c142ad186b364da3193cb"></a><!-- doxytag: member="irr::core::plane3d::getKnownIntersectionWithLine" ref="a572803fab72c142ad186b364da3193cb" args="(const vector3d< T > &linePoint1, const vector3d< T > &linePoint2) const " --> | ||
584 | <div class="memitem"> | ||
585 | <div class="memproto"> | ||
586 | <div class="memtemplate"> | ||
587 | template<class T> </div> | ||
588 | <table class="memname"> | ||
589 | <tr> | ||
590 | <td class="memname"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> <a class="el" href="classirr_1_1core_1_1plane3d.html">irr::core::plane3d</a>< T >::getKnownIntersectionWithLine </td> | ||
591 | <td>(</td> | ||
592 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
593 | <td class="paramname"><em>linePoint1</em>, </td> | ||
594 | </tr> | ||
595 | <tr> | ||
596 | <td class="paramkey"></td> | ||
597 | <td></td> | ||
598 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
599 | <td class="paramname"><em>linePoint2</em> </td> | ||
600 | </tr> | ||
601 | <tr> | ||
602 | <td></td> | ||
603 | <td>)</td> | ||
604 | <td></td><td> const<code> [inline]</code></td> | ||
605 | </tr> | ||
606 | </table> | ||
607 | </div> | ||
608 | <div class="memdoc"> | ||
609 | |||
610 | <p>Get percentage of line between two points where an intersection with this plane happens. </p> | ||
611 | <p>Only useful if known that there is an intersection. </p> | ||
612 | <dl><dt><b>Parameters:</b></dt><dd> | ||
613 | <table class="params"> | ||
614 | <tr><td class="paramname">linePoint1</td><td>Point1 of the line to intersect with. </td></tr> | ||
615 | <tr><td class="paramname">linePoint2</td><td>Point2 of the line to intersect with. </td></tr> | ||
616 | </table> | ||
617 | </dd> | ||
618 | </dl> | ||
619 | <dl class="return"><dt><b>Returns:</b></dt><dd>Where on a line between two points an intersection with this plane happened. For example, 0.5 is returned if the intersection happened exactly in the middle of the two points. </dd></dl> | ||
620 | |||
621 | <p>Definition at line <a class="el" href="plane3d_8h_source.html#l00107">107</a> of file <a class="el" href="plane3d_8h_source.html">plane3d.h</a>.</p> | ||
622 | |||
623 | <p>Referenced by <a class="el" href="_s_view_frustum_8h_source.html#l00344">irr::scene::SViewFrustum::clipLine()</a>.</p> | ||
624 | |||
625 | </div> | ||
626 | </div> | ||
627 | <a class="anchor" id="ae95084f1f1d942d2416aeaef247882fd"></a><!-- doxytag: member="irr::core::plane3d::getMemberPoint" ref="ae95084f1f1d942d2416aeaef247882fd" args="() const " --> | ||
628 | <div class="memitem"> | ||
629 | <div class="memproto"> | ||
630 | <div class="memtemplate"> | ||
631 | template<class T> </div> | ||
632 | <table class="memname"> | ||
633 | <tr> | ||
634 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T> <a class="el" href="classirr_1_1core_1_1plane3d.html">irr::core::plane3d</a>< T >::getMemberPoint </td> | ||
635 | <td>(</td> | ||
636 | <td class="paramname"></td><td>)</td> | ||
637 | <td> const<code> [inline]</code></td> | ||
638 | </tr> | ||
639 | </table> | ||
640 | </div> | ||
641 | <div class="memdoc"> | ||
642 | |||
643 | <p>Gets a member point of the plane. </p> | ||
644 | |||
645 | <p>Definition at line <a class="el" href="plane3d_8h_source.html#l00155">155</a> of file <a class="el" href="plane3d_8h_source.html">plane3d.h</a>.</p> | ||
646 | |||
647 | <p>Referenced by <a class="el" href="matrix4_8h_source.html#l01179">irr::core::CMatrix4< T >::transformPlane()</a>.</p> | ||
648 | |||
649 | </div> | ||
650 | </div> | ||
651 | <a class="anchor" id="a5b769b842600d377415d594f0db09a3e"></a><!-- doxytag: member="irr::core::plane3d::isFrontFacing" ref="a5b769b842600d377415d594f0db09a3e" args="(const vector3d< T > &lookDirection) const " --> | ||
652 | <div class="memitem"> | ||
653 | <div class="memproto"> | ||
654 | <div class="memtemplate"> | ||
655 | template<class T> </div> | ||
656 | <table class="memname"> | ||
657 | <tr> | ||
658 | <td class="memname">bool <a class="el" href="classirr_1_1core_1_1plane3d.html">irr::core::plane3d</a>< T >::isFrontFacing </td> | ||
659 | <td>(</td> | ||
660 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
661 | <td class="paramname"><em>lookDirection</em></td><td>)</td> | ||
662 | <td> const<code> [inline]</code></td> | ||
663 | </tr> | ||
664 | </table> | ||
665 | </div> | ||
666 | <div class="memdoc"> | ||
667 | |||
668 | <p>Test if the triangle would be front or backfacing from any point. </p> | ||
669 | <p>Thus, this method assumes a camera position from which the triangle is definitely visible when looking into the given direction. Note that this only works if the normal is Normalized. Do not use this method with points as it will give wrong results! </p> | ||
670 | <dl><dt><b>Parameters:</b></dt><dd> | ||
671 | <table class="params"> | ||
672 | <tr><td class="paramname">lookDirection,:</td><td>Look direction. </td></tr> | ||
673 | </table> | ||
674 | </dd> | ||
675 | </dl> | ||
676 | <dl class="return"><dt><b>Returns:</b></dt><dd>True if the plane is front facing and false if it is backfacing. </dd></dl> | ||
677 | |||
678 | <p>Definition at line <a class="el" href="plane3d_8h_source.html#l00214">214</a> of file <a class="el" href="plane3d_8h_source.html">plane3d.h</a>.</p> | ||
679 | |||
680 | </div> | ||
681 | </div> | ||
682 | <a class="anchor" id="a1ef3ad54e652a02f3ea8c97884332f06"></a><!-- doxytag: member="irr::core::plane3d::operator!=" ref="a1ef3ad54e652a02f3ea8c97884332f06" args="(const plane3d< T > &other) const " --> | ||
683 | <div class="memitem"> | ||
684 | <div class="memproto"> | ||
685 | <div class="memtemplate"> | ||
686 | template<class T> </div> | ||
687 | <table class="memname"> | ||
688 | <tr> | ||
689 | <td class="memname">bool <a class="el" href="classirr_1_1core_1_1plane3d.html">irr::core::plane3d</a>< T >::operator!= </td> | ||
690 | <td>(</td> | ||
691 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1plane3d.html">plane3d</a>< T > & </td> | ||
692 | <td class="paramname"><em>other</em></td><td>)</td> | ||
693 | <td> const<code> [inline]</code></td> | ||
694 | </tr> | ||
695 | </table> | ||
696 | </div> | ||
697 | <div class="memdoc"> | ||
698 | |||
699 | <p>Definition at line <a class="el" href="plane3d_8h_source.html#l00054">54</a> of file <a class="el" href="plane3d_8h_source.html">plane3d.h</a>.</p> | ||
700 | |||
701 | </div> | ||
702 | </div> | ||
703 | <a class="anchor" id="a4ea013907b2e44c91cc9defacb7a8d53"></a><!-- doxytag: member="irr::core::plane3d::operator==" ref="a4ea013907b2e44c91cc9defacb7a8d53" args="(const plane3d< T > &other) const " --> | ||
704 | <div class="memitem"> | ||
705 | <div class="memproto"> | ||
706 | <div class="memtemplate"> | ||
707 | template<class T> </div> | ||
708 | <table class="memname"> | ||
709 | <tr> | ||
710 | <td class="memname">bool <a class="el" href="classirr_1_1core_1_1plane3d.html">irr::core::plane3d</a>< T >::operator== </td> | ||
711 | <td>(</td> | ||
712 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1plane3d.html">plane3d</a>< T > & </td> | ||
713 | <td class="paramname"><em>other</em></td><td>)</td> | ||
714 | <td> const<code> [inline]</code></td> | ||
715 | </tr> | ||
716 | </table> | ||
717 | </div> | ||
718 | <div class="memdoc"> | ||
719 | |||
720 | <p>Definition at line <a class="el" href="plane3d_8h_source.html#l00052">52</a> of file <a class="el" href="plane3d_8h_source.html">plane3d.h</a>.</p> | ||
721 | |||
722 | </div> | ||
723 | </div> | ||
724 | <a class="anchor" id="a65c1748d516ddc820b6b970f9367f1ff"></a><!-- doxytag: member="irr::core::plane3d::recalculateD" ref="a65c1748d516ddc820b6b970f9367f1ff" args="(const vector3d< T > &MPoint)" --> | ||
725 | <div class="memitem"> | ||
726 | <div class="memproto"> | ||
727 | <div class="memtemplate"> | ||
728 | template<class T> </div> | ||
729 | <table class="memname"> | ||
730 | <tr> | ||
731 | <td class="memname">void <a class="el" href="classirr_1_1core_1_1plane3d.html">irr::core::plane3d</a>< T >::recalculateD </td> | ||
732 | <td>(</td> | ||
733 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
734 | <td class="paramname"><em>MPoint</em></td><td>)</td> | ||
735 | <td><code> [inline]</code></td> | ||
736 | </tr> | ||
737 | </table> | ||
738 | </div> | ||
739 | <div class="memdoc"> | ||
740 | |||
741 | <p>Recalculates the distance from origin by applying a new member point to the plane. </p> | ||
742 | |||
743 | <p>Definition at line <a class="el" href="plane3d_8h_source.html#l00149">149</a> of file <a class="el" href="plane3d_8h_source.html">plane3d.h</a>.</p> | ||
744 | |||
745 | <p>Referenced by <a class="el" href="plane3d_8h_source.html#l00039">irr::core::plane3d< f32 >::plane3d()</a>, and <a class="el" href="plane3d_8h_source.html#l00058">irr::core::plane3d< f32 >::setPlane()</a>.</p> | ||
746 | |||
747 | </div> | ||
748 | </div> | ||
749 | <a class="anchor" id="a74c75911a10cc048c546ca5ea3646232"></a><!-- doxytag: member="irr::core::plane3d::setPlane" ref="a74c75911a10cc048c546ca5ea3646232" args="(const vector3d< T > &point, const vector3d< T > &nvector)" --> | ||
750 | <div class="memitem"> | ||
751 | <div class="memproto"> | ||
752 | <div class="memtemplate"> | ||
753 | template<class T> </div> | ||
754 | <table class="memname"> | ||
755 | <tr> | ||
756 | <td class="memname">void <a class="el" href="classirr_1_1core_1_1plane3d.html">irr::core::plane3d</a>< T >::setPlane </td> | ||
757 | <td>(</td> | ||
758 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
759 | <td class="paramname"><em>point</em>, </td> | ||
760 | </tr> | ||
761 | <tr> | ||
762 | <td class="paramkey"></td> | ||
763 | <td></td> | ||
764 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
765 | <td class="paramname"><em>nvector</em> </td> | ||
766 | </tr> | ||
767 | <tr> | ||
768 | <td></td> | ||
769 | <td>)</td> | ||
770 | <td></td><td><code> [inline]</code></td> | ||
771 | </tr> | ||
772 | </table> | ||
773 | </div> | ||
774 | <div class="memdoc"> | ||
775 | |||
776 | <p>Definition at line <a class="el" href="plane3d_8h_source.html#l00058">58</a> of file <a class="el" href="plane3d_8h_source.html">plane3d.h</a>.</p> | ||
777 | |||
778 | <p>Referenced by <a class="el" href="plane3d_8h_source.html#l00045">irr::core::plane3d< f32 >::plane3d()</a>, and <a class="el" href="matrix4_8h_source.html#l01179">irr::core::CMatrix4< T >::transformPlane()</a>.</p> | ||
779 | |||
780 | </div> | ||
781 | </div> | ||
782 | <a class="anchor" id="a1f68018de37d6bc904c33192816b899b"></a><!-- doxytag: member="irr::core::plane3d::setPlane" ref="a1f68018de37d6bc904c33192816b899b" args="(const vector3d< T > &nvect, T d)" --> | ||
783 | <div class="memitem"> | ||
784 | <div class="memproto"> | ||
785 | <div class="memtemplate"> | ||
786 | template<class T> </div> | ||
787 | <table class="memname"> | ||
788 | <tr> | ||
789 | <td class="memname">void <a class="el" href="classirr_1_1core_1_1plane3d.html">irr::core::plane3d</a>< T >::setPlane </td> | ||
790 | <td>(</td> | ||
791 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
792 | <td class="paramname"><em>nvect</em>, </td> | ||
793 | </tr> | ||
794 | <tr> | ||
795 | <td class="paramkey"></td> | ||
796 | <td></td> | ||
797 | <td class="paramtype">T </td> | ||
798 | <td class="paramname"><em>d</em> </td> | ||
799 | </tr> | ||
800 | <tr> | ||
801 | <td></td> | ||
802 | <td>)</td> | ||
803 | <td></td><td><code> [inline]</code></td> | ||
804 | </tr> | ||
805 | </table> | ||
806 | </div> | ||
807 | <div class="memdoc"> | ||
808 | |||
809 | <p>Definition at line <a class="el" href="plane3d_8h_source.html#l00064">64</a> of file <a class="el" href="plane3d_8h_source.html">plane3d.h</a>.</p> | ||
810 | |||
811 | </div> | ||
812 | </div> | ||
813 | <a class="anchor" id="a32ca1fd89b65630b4d77641005ffa94d"></a><!-- doxytag: member="irr::core::plane3d::setPlane" ref="a32ca1fd89b65630b4d77641005ffa94d" args="(const vector3d< T > &point1, const vector3d< T > &point2, const vector3d< T > &point3)" --> | ||
814 | <div class="memitem"> | ||
815 | <div class="memproto"> | ||
816 | <div class="memtemplate"> | ||
817 | template<class T> </div> | ||
818 | <table class="memname"> | ||
819 | <tr> | ||
820 | <td class="memname">void <a class="el" href="classirr_1_1core_1_1plane3d.html">irr::core::plane3d</a>< T >::setPlane </td> | ||
821 | <td>(</td> | ||
822 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
823 | <td class="paramname"><em>point1</em>, </td> | ||
824 | </tr> | ||
825 | <tr> | ||
826 | <td class="paramkey"></td> | ||
827 | <td></td> | ||
828 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
829 | <td class="paramname"><em>point2</em>, </td> | ||
830 | </tr> | ||
831 | <tr> | ||
832 | <td class="paramkey"></td> | ||
833 | <td></td> | ||
834 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
835 | <td class="paramname"><em>point3</em> </td> | ||
836 | </tr> | ||
837 | <tr> | ||
838 | <td></td> | ||
839 | <td>)</td> | ||
840 | <td></td><td><code> [inline]</code></td> | ||
841 | </tr> | ||
842 | </table> | ||
843 | </div> | ||
844 | <div class="memdoc"> | ||
845 | |||
846 | <p>Definition at line <a class="el" href="plane3d_8h_source.html#l00070">70</a> of file <a class="el" href="plane3d_8h_source.html">plane3d.h</a>.</p> | ||
847 | |||
848 | </div> | ||
849 | </div> | ||
850 | <hr/><h2>Member Data Documentation</h2> | ||
851 | <a class="anchor" id="afa304cf77cf1a3aae2351d5add5606a8"></a><!-- doxytag: member="irr::core::plane3d::D" ref="afa304cf77cf1a3aae2351d5add5606a8" args="" --> | ||
852 | <div class="memitem"> | ||
853 | <div class="memproto"> | ||
854 | <div class="memtemplate"> | ||
855 | template<class T> </div> | ||
856 | <table class="memname"> | ||
857 | <tr> | ||
858 | <td class="memname">T <a class="el" href="classirr_1_1core_1_1plane3d.html">irr::core::plane3d</a>< T >::<a class="el" href="classirr_1_1core_1_1plane3d.html#afa304cf77cf1a3aae2351d5add5606a8">D</a></td> | ||
859 | </tr> | ||
860 | </table> | ||
861 | </div> | ||
862 | <div class="memdoc"> | ||
863 | |||
864 | <p>Distance from origin. </p> | ||
865 | |||
866 | <p>Definition at line <a class="el" href="plane3d_8h_source.html#l00231">231</a> of file <a class="el" href="plane3d_8h_source.html">plane3d.h</a>.</p> | ||
867 | |||
868 | <p>Referenced by <a class="el" href="matrix4_8h_source.html#l01743">irr::core::CMatrix4< T >::buildShadowMatrix()</a>, <a class="el" href="aabbox3d_8h_source.html#l00284">irr::core::aabbox3d< f32 >::classifyPlaneRelation()</a>, <a class="el" href="plane3d_8h_source.html#l00135">irr::core::plane3d< f32 >::classifyPointRelation()</a>, <a class="el" href="plane3d_8h_source.html#l00222">irr::core::plane3d< f32 >::getDistanceTo()</a>, <a class="el" href="plane3d_8h_source.html#l00086">irr::core::plane3d< f32 >::getIntersectionWithLine()</a>, <a class="el" href="plane3d_8h_source.html#l00173">irr::core::plane3d< f32 >::getIntersectionWithPlane()</a>, <a class="el" href="plane3d_8h_source.html#l00107">irr::core::plane3d< f32 >::getKnownIntersectionWithLine()</a>, <a class="el" href="plane3d_8h_source.html#l00155">irr::core::plane3d< f32 >::getMemberPoint()</a>, <a class="el" href="plane3d_8h_source.html#l00052">irr::core::plane3d< f32 >::operator==()</a>, <a class="el" href="plane3d_8h_source.html#l00149">irr::core::plane3d< f32 >::recalculateD()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00255">irr::scene::SViewFrustum::setFrom()</a>, and <a class="el" href="plane3d_8h_source.html#l00064">irr::core::plane3d< f32 >::setPlane()</a>.</p> | ||
869 | |||
870 | </div> | ||
871 | </div> | ||
872 | <a class="anchor" id="a932ca6e90e55cdceedb4f15ab706b719"></a><!-- doxytag: member="irr::core::plane3d::Normal" ref="a932ca6e90e55cdceedb4f15ab706b719" args="" --> | ||
873 | <div class="memitem"> | ||
874 | <div class="memproto"> | ||
875 | <div class="memtemplate"> | ||
876 | template<class T> </div> | ||
877 | <table class="memname"> | ||
878 | <tr> | ||
879 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T> <a class="el" href="classirr_1_1core_1_1plane3d.html">irr::core::plane3d</a>< T >::<a class="el" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719">Normal</a></td> | ||
880 | </tr> | ||
881 | </table> | ||
882 | </div> | ||
883 | <div class="memdoc"> | ||
884 | |||
885 | <p>Normal vector of the plane. </p> | ||
886 | |||
887 | <p>Definition at line <a class="el" href="plane3d_8h_source.html#l00228">228</a> of file <a class="el" href="plane3d_8h_source.html">plane3d.h</a>.</p> | ||
888 | |||
889 | <p>Referenced by <a class="el" href="matrix4_8h_source.html#l01743">irr::core::CMatrix4< T >::buildShadowMatrix()</a>, <a class="el" href="aabbox3d_8h_source.html#l00284">irr::core::aabbox3d< f32 >::classifyPlaneRelation()</a>, <a class="el" href="plane3d_8h_source.html#l00135">irr::core::plane3d< f32 >::classifyPointRelation()</a>, <a class="el" href="plane3d_8h_source.html#l00162">irr::core::plane3d< f32 >::existsIntersection()</a>, <a class="el" href="plane3d_8h_source.html#l00222">irr::core::plane3d< f32 >::getDistanceTo()</a>, <a class="el" href="plane3d_8h_source.html#l00086">irr::core::plane3d< f32 >::getIntersectionWithLine()</a>, <a class="el" href="plane3d_8h_source.html#l00173">irr::core::plane3d< f32 >::getIntersectionWithPlane()</a>, <a class="el" href="plane3d_8h_source.html#l00107">irr::core::plane3d< f32 >::getKnownIntersectionWithLine()</a>, <a class="el" href="plane3d_8h_source.html#l00155">irr::core::plane3d< f32 >::getMemberPoint()</a>, <a class="el" href="plane3d_8h_source.html#l00214">irr::core::plane3d< f32 >::isFrontFacing()</a>, <a class="el" href="plane3d_8h_source.html#l00052">irr::core::plane3d< f32 >::operator==()</a>, <a class="el" href="plane3d_8h_source.html#l00149">irr::core::plane3d< f32 >::recalculateD()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00255">irr::scene::SViewFrustum::setFrom()</a>, <a class="el" href="plane3d_8h_source.html#l00058">irr::core::plane3d< f32 >::setPlane()</a>, and <a class="el" href="matrix4_8h_source.html#l01179">irr::core::CMatrix4< T >::transformPlane()</a>.</p> | ||
890 | |||
891 | </div> | ||
892 | </div> | ||
893 | <hr/>The documentation for this class was generated from the following file:<ul> | ||
894 | <li><a class="el" href="plane3d_8h_source.html">plane3d.h</a></li> | ||
895 | </ul> | ||
896 | </div> | ||
897 | </div> | ||
898 | <div id="nav-path" class="navpath"> | ||
899 | <ul> | ||
900 | <li class="navelem"><a class="el" href="namespaceirr.html">irr</a> </li> | ||
901 | <li class="navelem"><a class="el" href="namespaceirr_1_1core.html">core</a> </li> | ||
902 | <li class="navelem"><a class="el" href="classirr_1_1core_1_1plane3d.html">plane3d</a> </li> | ||
903 | <!-- window showing the filter options --> | ||
904 | <div id="MSearchSelectWindow" | ||
905 | onmouseover="return searchBox.OnSearchSelectShow()" | ||
906 | onmouseout="return searchBox.OnSearchSelectHide()" | ||
907 | onkeydown="return searchBox.OnSearchSelectKey(event)"> | ||
908 | <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Defines</a></div> | ||
909 | |||
910 | <!-- iframe showing the search results (closed by default) --> | ||
911 | <div id="MSearchResultsWindow"> | ||
912 | <iframe src="javascript:void(0)" frameborder="0" | ||
913 | name="MSearchResults" id="MSearchResults"> | ||
914 | </iframe> | ||
915 | </div> | ||
916 | |||
917 | |||
918 | <li class="footer"> | ||
919 | <a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht | ||
920 | Engine</a> Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on Sun Nov 17 2013 20:18:43 for Irrlicht 3D Engine by | ||
921 | <a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li> | ||
922 | </ul> | ||
923 | </div> | ||
924 | |||
925 | |||
926 | </body> | ||
927 | </html> | ||