<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Crystal Space 1.2.1: csEllipsoid Class Reference (Crystal Space 1.2.1 Public API Reference)</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <table border="0" cellpadding="0" cellspacing="0" width="100%" class="head"> <tr height="59"> <td class="head" width="202" valign="bottom" style="padding-left:0;"><a href="http://www.crystalspace3d.org/"><img src="csblur.png" width="236" height="59" alt="CrystalSpace" border="0"></a></td> <td class="head"><h2>Public API Reference</h2></td> </tr> <tr height="11"> <td colspan="2" class="headshadow" valign="top" style="padding-left:0;"><img src="csblurb.png" width="236" height="11" alt="" border="0"></td> </tr> </table> <div class="content"> <!-- Generated by Doxygen 1.5.3 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <h1>csEllipsoid Class Reference<br> <small> [<a class="el" href="group__geom__utils.html">Geometry utilities</a>]</small> </h1><!-- doxytag: class="csEllipsoid" -->This class represents an ellipsoid. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="sphere_8h-source.html">csgeom/sphere.h</a>></code> <p> <p> <a href="classcsEllipsoid-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsEllipsoid.html#c8a428cb49c2f1778432121fd425a05c">csEllipsoid</a> (const <a class="el" href="classcsEllipsoid.html">csEllipsoid</a> &s)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Copy Constructor. <a href="#c8a428cb49c2f1778432121fd425a05c"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsEllipsoid.html#f13d00b30b6e88298710181e65933ea9">csEllipsoid</a> (const <a class="el" href="classcsVector3.html">csVector3</a> &center, const <a class="el" href="classcsVector3.html">csVector3</a> &radius)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new ellipsoid. <a href="#f13d00b30b6e88298710181e65933ea9"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsEllipsoid.html#4dc50e57352ab3df4d42edbeb760cc48">csEllipsoid</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new empty ellipsoid at (0,0,0). <a href="#4dc50e57352ab3df4d42edbeb760cc48"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classcsVector3.html">csVector3</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsEllipsoid.html#68df785fd3faee025f4ad66d58dd3b51">GetCenter</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the center of this ellipsoid. <a href="#68df785fd3faee025f4ad66d58dd3b51"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classcsVector3.html">csVector3</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsEllipsoid.html#7d9d254a5fbf1035098f0241dea9bb55">GetCenter</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the center of this ellipsoid. <a href="#7d9d254a5fbf1035098f0241dea9bb55"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classcsVector3.html">csVector3</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsEllipsoid.html#09dc6515c3a7dd7e94d7e2c8677ec6d0">GetRadius</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the radius of this ellipsoid. <a href="#09dc6515c3a7dd7e94d7e2c8677ec6d0"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classcsVector3.html">csVector3</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsEllipsoid.html#6b7f31a3c87c9036ffda6ad8095d618f">GetRadius</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the radius of this ellipsoid. <a href="#6b7f31a3c87c9036ffda6ad8095d618f"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsEllipsoid.html#d867bf17b5cb8312e0125e5484487d07">SetCenter</a> (const <a class="el" href="classcsVector3.html">csVector3</a> &c)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the center of this ellipsoid. <a href="#d867bf17b5cb8312e0125e5484487d07"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsEllipsoid.html#23fb3d2530244c205db309c1db5c55c3">SetRadius</a> (const <a class="el" href="classcsVector3.html">csVector3</a> &r)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the radius of this ellipsoid. <a href="#23fb3d2530244c205db309c1db5c55c3"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> This class represents an ellipsoid. <p>Definition at line <a class="el" href="sphere_8h-source.html#l00099">99</a> of file <a class="el" href="sphere_8h-source.html">sphere.h</a>.</p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="4dc50e57352ab3df4d42edbeb760cc48"></a><!-- doxytag: member="csEllipsoid::csEllipsoid" ref="4dc50e57352ab3df4d42edbeb760cc48" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">csEllipsoid::csEllipsoid </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Create a new empty ellipsoid at (0,0,0). <p> <p>Definition at line <a class="el" href="sphere_8h-source.html#l00107">107</a> of file <a class="el" href="sphere_8h-source.html">sphere.h</a>.</p> </div> </div><p> <a class="anchor" name="f13d00b30b6e88298710181e65933ea9"></a><!-- doxytag: member="csEllipsoid::csEllipsoid" ref="f13d00b30b6e88298710181e65933ea9" args="(const csVector3 &center, const csVector3 &radius)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">csEllipsoid::csEllipsoid </td> <td>(</td> <td class="paramtype">const <a class="el" href="classcsVector3.html">csVector3</a> & </td> <td class="paramname"> <em>center</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classcsVector3.html">csVector3</a> & </td> <td class="paramname"> <em>radius</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Create a new ellipsoid. <p> <p>Definition at line <a class="el" href="sphere_8h-source.html#l00114">114</a> of file <a class="el" href="sphere_8h-source.html">sphere.h</a>.</p> </div> </div><p> <a class="anchor" name="c8a428cb49c2f1778432121fd425a05c"></a><!-- doxytag: member="csEllipsoid::csEllipsoid" ref="c8a428cb49c2f1778432121fd425a05c" args="(const csEllipsoid &s)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">csEllipsoid::csEllipsoid </td> <td>(</td> <td class="paramtype">const <a class="el" href="classcsEllipsoid.html">csEllipsoid</a> & </td> <td class="paramname"> <em>s</em> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Copy Constructor. <p> <p>Definition at line <a class="el" href="sphere_8h-source.html#l00121">121</a> of file <a class="el" href="sphere_8h-source.html">sphere.h</a>.</p> <p>References <a class="el" href="sphere_8h-source.html#l00102">center</a>, and <a class="el" href="sphere_8h-source.html#l00103">radius</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="68df785fd3faee025f4ad66d58dd3b51"></a><!-- doxytag: member="csEllipsoid::GetCenter" ref="68df785fd3faee025f4ad66d58dd3b51" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classcsVector3.html">csVector3</a>& csEllipsoid::GetCenter </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the center of this ellipsoid. <p> <p>Definition at line <a class="el" href="sphere_8h-source.html#l00126">126</a> of file <a class="el" href="sphere_8h-source.html">sphere.h</a>.</p> </div> </div><p> <a class="anchor" name="7d9d254a5fbf1035098f0241dea9bb55"></a><!-- doxytag: member="csEllipsoid::GetCenter" ref="7d9d254a5fbf1035098f0241dea9bb55" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classcsVector3.html">csVector3</a>& csEllipsoid::GetCenter </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the center of this ellipsoid. <p> <p>Definition at line <a class="el" href="sphere_8h-source.html#l00124">124</a> of file <a class="el" href="sphere_8h-source.html">sphere.h</a>.</p> </div> </div><p> <a class="anchor" name="09dc6515c3a7dd7e94d7e2c8677ec6d0"></a><!-- doxytag: member="csEllipsoid::GetRadius" ref="09dc6515c3a7dd7e94d7e2c8677ec6d0" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classcsVector3.html">csVector3</a>& csEllipsoid::GetRadius </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the radius of this ellipsoid. <p> <p>Definition at line <a class="el" href="sphere_8h-source.html#l00132">132</a> of file <a class="el" href="sphere_8h-source.html">sphere.h</a>.</p> </div> </div><p> <a class="anchor" name="6b7f31a3c87c9036ffda6ad8095d618f"></a><!-- doxytag: member="csEllipsoid::GetRadius" ref="6b7f31a3c87c9036ffda6ad8095d618f" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classcsVector3.html">csVector3</a>& csEllipsoid::GetRadius </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the radius of this ellipsoid. <p> <p>Definition at line <a class="el" href="sphere_8h-source.html#l00130">130</a> of file <a class="el" href="sphere_8h-source.html">sphere.h</a>.</p> </div> </div><p> <a class="anchor" name="d867bf17b5cb8312e0125e5484487d07"></a><!-- doxytag: member="csEllipsoid::SetCenter" ref="d867bf17b5cb8312e0125e5484487d07" args="(const csVector3 &c)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void csEllipsoid::SetCenter </td> <td>(</td> <td class="paramtype">const <a class="el" href="classcsVector3.html">csVector3</a> & </td> <td class="paramname"> <em>c</em> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Set the center of this ellipsoid. <p> <p>Definition at line <a class="el" href="sphere_8h-source.html#l00128">128</a> of file <a class="el" href="sphere_8h-source.html">sphere.h</a>.</p> </div> </div><p> <a class="anchor" name="23fb3d2530244c205db309c1db5c55c3"></a><!-- doxytag: member="csEllipsoid::SetRadius" ref="23fb3d2530244c205db309c1db5c55c3" args="(const csVector3 &r)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void csEllipsoid::SetRadius </td> <td>(</td> <td class="paramtype">const <a class="el" href="classcsVector3.html">csVector3</a> & </td> <td class="paramname"> <em>r</em> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Set the radius of this ellipsoid. <p> <p>Definition at line <a class="el" href="sphere_8h-source.html#l00134">134</a> of file <a class="el" href="sphere_8h-source.html">sphere.h</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li>csgeom/<a class="el" href="sphere_8h-source.html">sphere.h</a></ul> <hr size="1"><address><small>Generated for Crystal Space 1.2.1 by <a href="http://www.doxygen.org/index.html">doxygen</a> 1.5.3 </small></address> </div></body> </html>