KudanAR - iOS  1.6.0
OgreMathLib::Degree Class Reference

#include <OgreMathLib.h>

Public Member Functions

 Degree (Real d=0)
 
 Degree (const Radian &r)
 
Degreeoperator= (const Real &f)
 
Degreeoperator= (const Degree &d)
 
Degreeoperator= (const Radian &r)
 
Real valueDegrees () const
 
Real valueRadians () const
 
Real valueAngleUnits () const
 
const Degreeoperator+ () const
 
Degree operator+ (const Degree &d) const
 
Degree operator+ (const Radian &r) const
 
Degreeoperator+= (const Degree &d)
 
Degreeoperator+= (const Radian &r)
 
Degree operator- () const
 
Degree operator- (const Degree &d) const
 
Degree operator- (const Radian &r) const
 
Degreeoperator-= (const Degree &d)
 
Degreeoperator-= (const Radian &r)
 
Degree operator* (Real f) const
 
Degree operator* (const Degree &f) const
 
Degreeoperator*= (Real f)
 
Degree operator/ (Real f) const
 
Degreeoperator/= (Real f)
 
bool operator< (const Degree &d) const
 
bool operator<= (const Degree &d) const
 
bool operator== (const Degree &d) const
 
bool operator!= (const Degree &d) const
 
bool operator>= (const Degree &d) const
 
bool operator> (const Degree &d) const
 
std::string to_s () const
 

Friends

OGREMATHLIB_EXPORT friend std::ostream & operator<< (std::ostream &o, const Degree &v)
 

Detailed Description

Wrapper class which indicates a given angle value is in Degrees.

Remarks
Degree values are interchangeable with Radian values, and conversions will be done automatically between them.

The documentation for this class was generated from the following file: