1 | <html> |
---|
2 | <head> |
---|
3 | <title>Ogre::Sphere class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
4 | <link type="text/css" rel="stylesheet" href="style.css"> |
---|
5 | </head> |
---|
6 | |
---|
7 | <body> |
---|
8 | <!-- Generated by Doxygen 1.3.6 --> |
---|
9 | <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> |
---|
10 | <h1>Ogre::Sphere Class Reference</h1>A sphere primitive, mostly used for bounds checking. |
---|
11 | <a href="#_details">More...</a> |
---|
12 | <p> |
---|
13 | <code>#include <<a class="el" href="OgreSphere_8h-source.html">OgreSphere.h</a>></code> |
---|
14 | <p> |
---|
15 | <a href="classOgre_1_1Sphere-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> |
---|
16 | <tr><td></td></tr> |
---|
17 | <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> |
---|
18 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Sphere.html#Ogre_1_1Spherea0">Sphere</a> ()</td></tr> |
---|
19 | |
---|
20 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Standard constructor - creates a unit sphere around the origin. <a href="#Ogre_1_1Spherea0"></a><br><br></td></tr> |
---|
21 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Sphere.html#Ogre_1_1Spherea1">Sphere</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &center, <a class="el" href="namespaceOgre.html#a465">Real</a> radius)</td></tr> |
---|
22 | |
---|
23 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor allowing arbitrary spheres. <a href="#Ogre_1_1Spherea1"></a><br><br></td></tr> |
---|
24 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Sphere.html#Ogre_1_1Spherea2">getRadius</a> (void) const </td></tr> |
---|
25 | |
---|
26 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the radius of the sphere. <a href="#Ogre_1_1Spherea2"></a><br><br></td></tr> |
---|
27 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Sphere.html#Ogre_1_1Spherea3">setRadius</a> (<a class="el" href="namespaceOgre.html#a465">Real</a> radius)</td></tr> |
---|
28 | |
---|
29 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the radius of the sphere. <a href="#Ogre_1_1Spherea3"></a><br><br></td></tr> |
---|
30 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Sphere.html#Ogre_1_1Spherea4">getCenter</a> (void) const </td></tr> |
---|
31 | |
---|
32 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the center point of the sphere. <a href="#Ogre_1_1Spherea4"></a><br><br></td></tr> |
---|
33 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Sphere.html#Ogre_1_1Spherea5">setCenter</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &center)</td></tr> |
---|
34 | |
---|
35 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the center point of the sphere. <a href="#Ogre_1_1Spherea5"></a><br><br></td></tr> |
---|
36 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Sphere.html#Ogre_1_1Spherea6">intersects</a> (const <a class="el" href="classOgre_1_1Sphere.html">Sphere</a> &s) const </td></tr> |
---|
37 | |
---|
38 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether or not this sphere interects another sphere. <a href="#Ogre_1_1Spherea6"></a><br><br></td></tr> |
---|
39 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Sphere.html#Ogre_1_1Spherea7">intersects</a> (const <a class="el" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> &box) const </td></tr> |
---|
40 | |
---|
41 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether or not this sphere interects a box. <a href="#Ogre_1_1Spherea7"></a><br><br></td></tr> |
---|
42 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Sphere.html#Ogre_1_1Spherea8">intersects</a> (const <a class="el" href="classOgre_1_1Plane.html">Plane</a> &plane) const </td></tr> |
---|
43 | |
---|
44 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether or not this sphere interects a plane. <a href="#Ogre_1_1Spherea8"></a><br><br></td></tr> |
---|
45 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Sphere.html#Ogre_1_1Spherea9">intersects</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &v) const </td></tr> |
---|
46 | |
---|
47 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether or not this sphere interects a point. <a href="#Ogre_1_1Spherea9"></a><br><br></td></tr> |
---|
48 | <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> |
---|
49 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Sphere.html#Ogre_1_1Spherep0">mRadius</a></td></tr> |
---|
50 | |
---|
51 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Vector3.html">Vector3</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Sphere.html#Ogre_1_1Spherep1">mCenter</a></td></tr> |
---|
52 | |
---|
53 | </table> |
---|
54 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
55 | A sphere primitive, mostly used for bounds checking. |
---|
56 | <p> |
---|
57 | <dl compact><dt><b>Remarks:</b></dt><dd>A sphere in math texts is normally represented by the function x^2 + y^2 + z^2 = r^2 (for sphere's centered on the origin). <a class="el" href="namespaceOgre.html">Ogre</a> stores spheres simply as a center point and a radius. </dd></dl> |
---|
58 | |
---|
59 | <p> |
---|
60 | |
---|
61 | <p> |
---|
62 | Definition at line <a class="el" href="OgreSphere_8h-source.html#l00042">42</a> of file <a class="el" href="OgreSphere_8h-source.html">OgreSphere.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> |
---|
63 | <a class="anchor" name="Ogre_1_1Spherea0" doxytag="Ogre::Sphere::Sphere" ></a><p> |
---|
64 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
65 | <tr> |
---|
66 | <td class="mdRow"> |
---|
67 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
68 | <tr> |
---|
69 | <td class="md" nowrap valign="top"> Ogre::Sphere::Sphere </td> |
---|
70 | <td class="md" valign="top">( </td> |
---|
71 | <td class="mdname1" valign="top" nowrap> </td> |
---|
72 | <td class="md" valign="top"> ) </td> |
---|
73 | <td class="md" nowrap></td> |
---|
74 | </tr> |
---|
75 | |
---|
76 | </table> |
---|
77 | </td> |
---|
78 | </tr> |
---|
79 | </table> |
---|
80 | <table cellspacing=5 cellpadding=0 border=0> |
---|
81 | <tr> |
---|
82 | <td> |
---|
83 | |
---|
84 | </td> |
---|
85 | <td> |
---|
86 | |
---|
87 | <p> |
---|
88 | Standard constructor - creates a unit sphere around the origin. |
---|
89 | <p> |
---|
90 | |
---|
91 | <p> |
---|
92 | Definition at line <a class="el" href="OgreSphere_8h-source.html#l00049">49</a> of file <a class="el" href="OgreSphere_8h-source.html">OgreSphere.h</a>. </td> |
---|
93 | </tr> |
---|
94 | </table> |
---|
95 | <a class="anchor" name="Ogre_1_1Spherea1" doxytag="Ogre::Sphere::Sphere" ></a><p> |
---|
96 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
97 | <tr> |
---|
98 | <td class="mdRow"> |
---|
99 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
100 | <tr> |
---|
101 | <td class="md" nowrap valign="top"> Ogre::Sphere::Sphere </td> |
---|
102 | <td class="md" valign="top">( </td> |
---|
103 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td> |
---|
104 | <td class="mdname" nowrap> <em>center</em>, </td> |
---|
105 | </tr> |
---|
106 | <tr> |
---|
107 | <td class="md" nowrap align="right"></td> |
---|
108 | <td></td> |
---|
109 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
110 | <td class="mdname" nowrap> <em>radius</em></td> |
---|
111 | </tr> |
---|
112 | <tr> |
---|
113 | <td></td> |
---|
114 | <td class="md">) </td> |
---|
115 | <td class="md" colspan="2"></td> |
---|
116 | </tr> |
---|
117 | |
---|
118 | </table> |
---|
119 | </td> |
---|
120 | </tr> |
---|
121 | </table> |
---|
122 | <table cellspacing=5 cellpadding=0 border=0> |
---|
123 | <tr> |
---|
124 | <td> |
---|
125 | |
---|
126 | </td> |
---|
127 | <td> |
---|
128 | |
---|
129 | <p> |
---|
130 | Constructor allowing arbitrary spheres. |
---|
131 | <p> |
---|
132 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
133 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
134 | <tr><td valign=top><em>center</em> </td><td>The center point of the sphere. </td></tr> |
---|
135 | <tr><td valign=top><em>radius</em> </td><td>The radius of the sphere. </td></tr> |
---|
136 | </table> |
---|
137 | </dl> |
---|
138 | |
---|
139 | <p> |
---|
140 | Definition at line <a class="el" href="OgreSphere_8h-source.html#l00054">54</a> of file <a class="el" href="OgreSphere_8h-source.html">OgreSphere.h</a>. |
---|
141 | <p> |
---|
142 | References <a class="el" href="OgrePrerequisites_8h-source.html#l00113">Ogre::Real</a>. </td> |
---|
143 | </tr> |
---|
144 | </table> |
---|
145 | <hr><h2>Member Function Documentation</h2> |
---|
146 | <a class="anchor" name="Ogre_1_1Spherea4" doxytag="Ogre::Sphere::getCenter" ></a><p> |
---|
147 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
148 | <tr> |
---|
149 | <td class="mdRow"> |
---|
150 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
151 | <tr> |
---|
152 | <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>& Ogre::Sphere::getCenter </td> |
---|
153 | <td class="md" valign="top">( </td> |
---|
154 | <td class="md" nowrap valign="top">void </td> |
---|
155 | <td class="mdname1" valign="top" nowrap> </td> |
---|
156 | <td class="md" valign="top"> ) </td> |
---|
157 | <td class="md" nowrap> const</td> |
---|
158 | </tr> |
---|
159 | |
---|
160 | </table> |
---|
161 | </td> |
---|
162 | </tr> |
---|
163 | </table> |
---|
164 | <table cellspacing=5 cellpadding=0 border=0> |
---|
165 | <tr> |
---|
166 | <td> |
---|
167 | |
---|
168 | </td> |
---|
169 | <td> |
---|
170 | |
---|
171 | <p> |
---|
172 | Returns the center point of the sphere. |
---|
173 | <p> |
---|
174 | |
---|
175 | <p> |
---|
176 | Definition at line <a class="el" href="OgreSphere_8h-source.html#l00064">64</a> of file <a class="el" href="OgreSphere_8h-source.html">OgreSphere.h</a>. |
---|
177 | <p> |
---|
178 | Referenced by <a class="el" href="OgrePlaneBoundedVolume_8h-source.html#l00093">Ogre::PlaneBoundedVolume::intersects()</a>. </td> |
---|
179 | </tr> |
---|
180 | </table> |
---|
181 | <a class="anchor" name="Ogre_1_1Spherea2" doxytag="Ogre::Sphere::getRadius" ></a><p> |
---|
182 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
183 | <tr> |
---|
184 | <td class="mdRow"> |
---|
185 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
186 | <tr> |
---|
187 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> Ogre::Sphere::getRadius </td> |
---|
188 | <td class="md" valign="top">( </td> |
---|
189 | <td class="md" nowrap valign="top">void </td> |
---|
190 | <td class="mdname1" valign="top" nowrap> </td> |
---|
191 | <td class="md" valign="top"> ) </td> |
---|
192 | <td class="md" nowrap> const</td> |
---|
193 | </tr> |
---|
194 | |
---|
195 | </table> |
---|
196 | </td> |
---|
197 | </tr> |
---|
198 | </table> |
---|
199 | <table cellspacing=5 cellpadding=0 border=0> |
---|
200 | <tr> |
---|
201 | <td> |
---|
202 | |
---|
203 | </td> |
---|
204 | <td> |
---|
205 | |
---|
206 | <p> |
---|
207 | Returns the radius of the sphere. |
---|
208 | <p> |
---|
209 | |
---|
210 | <p> |
---|
211 | Definition at line <a class="el" href="OgreSphere_8h-source.html#l00058">58</a> of file <a class="el" href="OgreSphere_8h-source.html">OgreSphere.h</a>. |
---|
212 | <p> |
---|
213 | References <a class="el" href="OgrePrerequisites_8h-source.html#l00113">Ogre::Real</a>. |
---|
214 | <p> |
---|
215 | Referenced by <a class="el" href="OgrePlaneBoundedVolume_8h-source.html#l00093">Ogre::PlaneBoundedVolume::intersects()</a>. </td> |
---|
216 | </tr> |
---|
217 | </table> |
---|
218 | <a class="anchor" name="Ogre_1_1Spherea9" doxytag="Ogre::Sphere::intersects" ></a><p> |
---|
219 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
220 | <tr> |
---|
221 | <td class="mdRow"> |
---|
222 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
223 | <tr> |
---|
224 | <td class="md" nowrap valign="top"> bool Ogre::Sphere::intersects </td> |
---|
225 | <td class="md" valign="top">( </td> |
---|
226 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td> |
---|
227 | <td class="mdname1" valign="top" nowrap> <em>v</em> </td> |
---|
228 | <td class="md" valign="top"> ) </td> |
---|
229 | <td class="md" nowrap> const</td> |
---|
230 | </tr> |
---|
231 | |
---|
232 | </table> |
---|
233 | </td> |
---|
234 | </tr> |
---|
235 | </table> |
---|
236 | <table cellspacing=5 cellpadding=0 border=0> |
---|
237 | <tr> |
---|
238 | <td> |
---|
239 | |
---|
240 | </td> |
---|
241 | <td> |
---|
242 | |
---|
243 | <p> |
---|
244 | Returns whether or not this sphere interects a point. |
---|
245 | <p> |
---|
246 | |
---|
247 | <p> |
---|
248 | Definition at line <a class="el" href="OgreSphere_8h-source.html#l00086">86</a> of file <a class="el" href="OgreSphere_8h-source.html">OgreSphere.h</a>. </td> |
---|
249 | </tr> |
---|
250 | </table> |
---|
251 | <a class="anchor" name="Ogre_1_1Spherea8" doxytag="Ogre::Sphere::intersects" ></a><p> |
---|
252 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
253 | <tr> |
---|
254 | <td class="mdRow"> |
---|
255 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
256 | <tr> |
---|
257 | <td class="md" nowrap valign="top"> bool Ogre::Sphere::intersects </td> |
---|
258 | <td class="md" valign="top">( </td> |
---|
259 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Plane.html">Plane</a> & </td> |
---|
260 | <td class="mdname1" valign="top" nowrap> <em>plane</em> </td> |
---|
261 | <td class="md" valign="top"> ) </td> |
---|
262 | <td class="md" nowrap> const</td> |
---|
263 | </tr> |
---|
264 | |
---|
265 | </table> |
---|
266 | </td> |
---|
267 | </tr> |
---|
268 | </table> |
---|
269 | <table cellspacing=5 cellpadding=0 border=0> |
---|
270 | <tr> |
---|
271 | <td> |
---|
272 | |
---|
273 | </td> |
---|
274 | <td> |
---|
275 | |
---|
276 | <p> |
---|
277 | Returns whether or not this sphere interects a plane. |
---|
278 | <p> |
---|
279 | |
---|
280 | <p> |
---|
281 | Definition at line <a class="el" href="OgreSphere_8h-source.html#l00081">81</a> of file <a class="el" href="OgreSphere_8h-source.html">OgreSphere.h</a>. </td> |
---|
282 | </tr> |
---|
283 | </table> |
---|
284 | <a class="anchor" name="Ogre_1_1Spherea7" doxytag="Ogre::Sphere::intersects" ></a><p> |
---|
285 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
286 | <tr> |
---|
287 | <td class="mdRow"> |
---|
288 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
289 | <tr> |
---|
290 | <td class="md" nowrap valign="top"> bool Ogre::Sphere::intersects </td> |
---|
291 | <td class="md" valign="top">( </td> |
---|
292 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> & </td> |
---|
293 | <td class="mdname1" valign="top" nowrap> <em>box</em> </td> |
---|
294 | <td class="md" valign="top"> ) </td> |
---|
295 | <td class="md" nowrap> const</td> |
---|
296 | </tr> |
---|
297 | |
---|
298 | </table> |
---|
299 | </td> |
---|
300 | </tr> |
---|
301 | </table> |
---|
302 | <table cellspacing=5 cellpadding=0 border=0> |
---|
303 | <tr> |
---|
304 | <td> |
---|
305 | |
---|
306 | </td> |
---|
307 | <td> |
---|
308 | |
---|
309 | <p> |
---|
310 | Returns whether or not this sphere interects a box. |
---|
311 | <p> |
---|
312 | |
---|
313 | <p> |
---|
314 | Definition at line <a class="el" href="OgreSphere_8h-source.html#l00076">76</a> of file <a class="el" href="OgreSphere_8h-source.html">OgreSphere.h</a>. </td> |
---|
315 | </tr> |
---|
316 | </table> |
---|
317 | <a class="anchor" name="Ogre_1_1Spherea6" doxytag="Ogre::Sphere::intersects" ></a><p> |
---|
318 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
319 | <tr> |
---|
320 | <td class="mdRow"> |
---|
321 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
322 | <tr> |
---|
323 | <td class="md" nowrap valign="top"> bool Ogre::Sphere::intersects </td> |
---|
324 | <td class="md" valign="top">( </td> |
---|
325 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Sphere.html">Sphere</a> & </td> |
---|
326 | <td class="mdname1" valign="top" nowrap> <em>s</em> </td> |
---|
327 | <td class="md" valign="top"> ) </td> |
---|
328 | <td class="md" nowrap> const</td> |
---|
329 | </tr> |
---|
330 | |
---|
331 | </table> |
---|
332 | </td> |
---|
333 | </tr> |
---|
334 | </table> |
---|
335 | <table cellspacing=5 cellpadding=0 border=0> |
---|
336 | <tr> |
---|
337 | <td> |
---|
338 | |
---|
339 | </td> |
---|
340 | <td> |
---|
341 | |
---|
342 | <p> |
---|
343 | Returns whether or not this sphere interects another sphere. |
---|
344 | <p> |
---|
345 | |
---|
346 | <p> |
---|
347 | Definition at line <a class="el" href="OgreSphere_8h-source.html#l00070">70</a> of file <a class="el" href="OgreSphere_8h-source.html">OgreSphere.h</a>. |
---|
348 | <p> |
---|
349 | References <a class="el" href="OgreVector3_8h-source.html#l00339">Ogre::Vector3::length()</a>, <a class="el" href="OgreSphere_8h-source.html#l00046">mCenter</a>, and <a class="el" href="OgreSphere_8h-source.html#l00045">mRadius</a>. </td> |
---|
350 | </tr> |
---|
351 | </table> |
---|
352 | <a class="anchor" name="Ogre_1_1Spherea5" doxytag="Ogre::Sphere::setCenter" ></a><p> |
---|
353 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
354 | <tr> |
---|
355 | <td class="mdRow"> |
---|
356 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
357 | <tr> |
---|
358 | <td class="md" nowrap valign="top"> void Ogre::Sphere::setCenter </td> |
---|
359 | <td class="md" valign="top">( </td> |
---|
360 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td> |
---|
361 | <td class="mdname1" valign="top" nowrap> <em>center</em> </td> |
---|
362 | <td class="md" valign="top"> ) </td> |
---|
363 | <td class="md" nowrap></td> |
---|
364 | </tr> |
---|
365 | |
---|
366 | </table> |
---|
367 | </td> |
---|
368 | </tr> |
---|
369 | </table> |
---|
370 | <table cellspacing=5 cellpadding=0 border=0> |
---|
371 | <tr> |
---|
372 | <td> |
---|
373 | |
---|
374 | </td> |
---|
375 | <td> |
---|
376 | |
---|
377 | <p> |
---|
378 | Sets the center point of the sphere. |
---|
379 | <p> |
---|
380 | |
---|
381 | <p> |
---|
382 | Definition at line <a class="el" href="OgreSphere_8h-source.html#l00067">67</a> of file <a class="el" href="OgreSphere_8h-source.html">OgreSphere.h</a>. </td> |
---|
383 | </tr> |
---|
384 | </table> |
---|
385 | <a class="anchor" name="Ogre_1_1Spherea3" doxytag="Ogre::Sphere::setRadius" ></a><p> |
---|
386 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
387 | <tr> |
---|
388 | <td class="mdRow"> |
---|
389 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
390 | <tr> |
---|
391 | <td class="md" nowrap valign="top"> void Ogre::Sphere::setRadius </td> |
---|
392 | <td class="md" valign="top">( </td> |
---|
393 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
394 | <td class="mdname1" valign="top" nowrap> <em>radius</em> </td> |
---|
395 | <td class="md" valign="top"> ) </td> |
---|
396 | <td class="md" nowrap></td> |
---|
397 | </tr> |
---|
398 | |
---|
399 | </table> |
---|
400 | </td> |
---|
401 | </tr> |
---|
402 | </table> |
---|
403 | <table cellspacing=5 cellpadding=0 border=0> |
---|
404 | <tr> |
---|
405 | <td> |
---|
406 | |
---|
407 | </td> |
---|
408 | <td> |
---|
409 | |
---|
410 | <p> |
---|
411 | Sets the radius of the sphere. |
---|
412 | <p> |
---|
413 | |
---|
414 | <p> |
---|
415 | Definition at line <a class="el" href="OgreSphere_8h-source.html#l00061">61</a> of file <a class="el" href="OgreSphere_8h-source.html">OgreSphere.h</a>. |
---|
416 | <p> |
---|
417 | References <a class="el" href="OgrePrerequisites_8h-source.html#l00113">Ogre::Real</a>. </td> |
---|
418 | </tr> |
---|
419 | </table> |
---|
420 | <hr><h2>Member Data Documentation</h2> |
---|
421 | <a class="anchor" name="Ogre_1_1Spherep1" doxytag="Ogre::Sphere::mCenter" ></a><p> |
---|
422 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
423 | <tr> |
---|
424 | <td class="mdRow"> |
---|
425 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
426 | <tr> |
---|
427 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> <a class="el" href="classOgre_1_1Sphere.html#Ogre_1_1Spherep1">Ogre::Sphere::mCenter</a><code> [protected]</code> |
---|
428 | </table> |
---|
429 | </td> |
---|
430 | </tr> |
---|
431 | </table> |
---|
432 | <table cellspacing=5 cellpadding=0 border=0> |
---|
433 | <tr> |
---|
434 | <td> |
---|
435 | |
---|
436 | </td> |
---|
437 | <td> |
---|
438 | |
---|
439 | <p> |
---|
440 | |
---|
441 | <p> |
---|
442 | Definition at line <a class="el" href="OgreSphere_8h-source.html#l00046">46</a> of file <a class="el" href="OgreSphere_8h-source.html">OgreSphere.h</a>. |
---|
443 | <p> |
---|
444 | Referenced by <a class="el" href="OgreSphere_8h-source.html#l00070">intersects()</a>. </td> |
---|
445 | </tr> |
---|
446 | </table> |
---|
447 | <a class="anchor" name="Ogre_1_1Spherep0" doxytag="Ogre::Sphere::mRadius" ></a><p> |
---|
448 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
449 | <tr> |
---|
450 | <td class="mdRow"> |
---|
451 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
452 | <tr> |
---|
453 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> <a class="el" href="classOgre_1_1Sphere.html#Ogre_1_1Spherep0">Ogre::Sphere::mRadius</a><code> [protected]</code> |
---|
454 | </table> |
---|
455 | </td> |
---|
456 | </tr> |
---|
457 | </table> |
---|
458 | <table cellspacing=5 cellpadding=0 border=0> |
---|
459 | <tr> |
---|
460 | <td> |
---|
461 | |
---|
462 | </td> |
---|
463 | <td> |
---|
464 | |
---|
465 | <p> |
---|
466 | |
---|
467 | <p> |
---|
468 | Definition at line <a class="el" href="OgreSphere_8h-source.html#l00045">45</a> of file <a class="el" href="OgreSphere_8h-source.html">OgreSphere.h</a>. |
---|
469 | <p> |
---|
470 | Referenced by <a class="el" href="OgreSphere_8h-source.html#l00070">intersects()</a>. </td> |
---|
471 | </tr> |
---|
472 | </table> |
---|
473 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
474 | <li><a class="el" href="OgreSphere_8h-source.html">OgreSphere.h</a></ul> |
---|
475 | <hr> |
---|
476 | <p> |
---|
477 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
478 | <!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/> |
---|
479 | This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/> |
---|
480 | <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
---|
481 | <Work rdf:about=""> |
---|
482 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
483 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
484 | </Work> |
---|
485 | <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> --> |
---|
486 | |
---|
487 | Last modified Sun Mar 12 14:44:36 2006 |
---|
488 | </p> |
---|
489 | </body> |
---|
490 | </html> |
---|