<html> <head> <title>Ogre::Angle class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link type="text/css" rel="stylesheet" href="style.css"> </head> <body> <!-- Generated by Doxygen 1.3.6 --> <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> <h1>Ogre::Angle Class Reference</h1>Wrapper class which identifies a value as the currently default angle type, as defined by <a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe35">Math::setAngleUnit</a>. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>></code> <p> <a href="classOgre_1_1Angle-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="classOgre_1_1Angle.html#Ogre_1_1Anglea0">Angle</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> angle)</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Angle.html#Ogre_1_1Anglea1">operator Radian</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Angle.html#Ogre_1_1Anglea2">operator Degree</a> ()</td></tr> <tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Angle.html#Ogre_1_1Angler0">mAngle</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Wrapper class which identifies a value as the currently default angle type, as defined by <a class="el" href="classOgre_1_1Math.html#Ogre_1_1Mathe35">Math::setAngleUnit</a>. <p> <dl compact><dt><b>Remarks:</b></dt><dd><a class="el" href="classOgre_1_1Angle.html">Angle</a> values will be automatically converted between radians and degrees, as appropriate. </dd></dl> <p> <p> Definition at line <a class="el" href="OgreMath_8h-source.html#l00124">124</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="Ogre_1_1Anglea0" doxytag="Ogre::Angle::Angle" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Ogre::Angle::Angle </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> <td class="mdname1" valign="top" nowrap> <em>angle</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [explicit]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreMath_8h-source.html#l00128">128</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>. <p> References <a class="el" href="OgreMath_8h-source.html#l00126">mAngle</a>, and <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>. </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="Ogre_1_1Anglea2" doxytag="Ogre::Angle::operator Degree" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Ogre::Angle::operator <a class="el" href="classOgre_1_1Degree.html">Degree</a> </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreMath_8h-source.html#l00473">473</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>. <p> References <a class="el" href="OgreMath_8h-source.html#l00126">mAngle</a>. </td> </tr> </table> <a class="anchor" name="Ogre_1_1Anglea1" doxytag="Ogre::Angle::operator Radian" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Ogre::Angle::operator <a class="el" href="classOgre_1_1Radian.html">Radian</a> </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreMath_8h-source.html#l00468">468</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>. <p> References <a class="el" href="OgreMath_8h-source.html#l00126">mAngle</a>. </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="Ogre_1_1Angler0" doxytag="Ogre::Angle::mAngle" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="classOgre_1_1Angle.html#Ogre_1_1Angler0">Ogre::Angle::mAngle</a><code> [private]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreMath_8h-source.html#l00126">126</a> of file <a class="el" href="OgreMath_8h-source.html">OgreMath.h</a>. <p> Referenced by <a class="el" href="OgreMath_8h-source.html#l00128">Angle()</a>, <a class="el" href="OgreMath_8h-source.html#l00473">operator Degree()</a>, and <a class="el" href="OgreMath_8h-source.html#l00468">operator Radian()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="OgreMath_8h-source.html">OgreMath.h</a></ul> <p> Copyright © 2000-2005 by The OGRE Team<br /> Last modified Wed Feb 23 00:20:43 2005 </p> </body> </html>