Public Types | Public Member Functions | Private Member Functions | Private Attributes
OVR::Angle< T > Class Template Reference

#include <OVR_Math.h>

List of all members.

Public Types

enum  AngularUnits { Radians = 0, Degrees = 1 }

Public Member Functions

Abs () const
 Angle ()
 Angle (T a_, AngularUnits u=Radians)
Distance (const Angle &b)
Get (AngularUnits u=Radians) const
bool operator!= (const Angle &b) const
Angle operator+ (const Angle &b) const
Angle operator+ (const T &x) const
Angleoperator+= (const Angle &b)
Angleoperator+= (const T &x)
Angle operator- (const Angle &b) const
Angle operator- (const T &x) const
Angleoperator-= (const Angle &b)
Angleoperator-= (const T &x)
bool operator== (const Angle &b) const
void Set (const T &x, AngularUnits u=Radians)
int Sign () const

Private Member Functions

void FastFixRange ()
void FixRange ()

Private Attributes

a

Detailed Description

template<class T>
class OVR::Angle< T >

Definition at line 1032 of file OVR_Math.h.


Member Enumeration Documentation

template<class T >
enum OVR::Angle::AngularUnits
Enumerator:
Radians 
Degrees 

Definition at line 1035 of file OVR_Math.h.


Constructor & Destructor Documentation

template<class T >
OVR::Angle< T >::Angle ( ) [inline]

Definition at line 1041 of file OVR_Math.h.

template<class T >
OVR::Angle< T >::Angle ( a_,
AngularUnits  u = Radians 
) [inline]

Definition at line 1044 of file OVR_Math.h.


Member Function Documentation

template<class T >
T OVR::Angle< T >::Abs ( ) const [inline]

Definition at line 1049 of file OVR_Math.h.

template<class T >
T OVR::Angle< T >::Distance ( const Angle< T > &  b) [inline]

Definition at line 1069 of file OVR_Math.h.

template<class T >
void OVR::Angle< T >::FastFixRange ( ) [inline, private]

Definition at line 1077 of file OVR_Math.h.

template<class T >
void OVR::Angle< T >::FixRange ( ) [inline, private]

Definition at line 1086 of file OVR_Math.h.

template<class T >
T OVR::Angle< T >::Get ( AngularUnits  u = Radians) const [inline]

Definition at line 1046 of file OVR_Math.h.

template<class T >
bool OVR::Angle< T >::operator!= ( const Angle< T > &  b) const [inline]

Definition at line 1052 of file OVR_Math.h.

template<class T >
Angle OVR::Angle< T >::operator+ ( const Angle< T > &  b) const [inline]

Definition at line 1060 of file OVR_Math.h.

template<class T >
Angle OVR::Angle< T >::operator+ ( const T &  x) const [inline]

Definition at line 1061 of file OVR_Math.h.

template<class T >
Angle& OVR::Angle< T >::operator+= ( const Angle< T > &  b) [inline]

Definition at line 1062 of file OVR_Math.h.

template<class T >
Angle& OVR::Angle< T >::operator+= ( const T &  x) [inline]

Definition at line 1063 of file OVR_Math.h.

template<class T >
Angle OVR::Angle< T >::operator- ( const Angle< T > &  b) const [inline]

Definition at line 1064 of file OVR_Math.h.

template<class T >
Angle OVR::Angle< T >::operator- ( const T &  x) const [inline]

Definition at line 1065 of file OVR_Math.h.

template<class T >
Angle& OVR::Angle< T >::operator-= ( const Angle< T > &  b) [inline]

Definition at line 1066 of file OVR_Math.h.

template<class T >
Angle& OVR::Angle< T >::operator-= ( const T &  x) [inline]

Definition at line 1067 of file OVR_Math.h.

template<class T >
bool OVR::Angle< T >::operator== ( const Angle< T > &  b) const [inline]

Definition at line 1051 of file OVR_Math.h.

template<class T >
void OVR::Angle< T >::Set ( const T &  x,
AngularUnits  u = Radians 
) [inline]

Definition at line 1047 of file OVR_Math.h.

template<class T >
int OVR::Angle< T >::Sign ( ) const [inline]

Definition at line 1048 of file OVR_Math.h.


Member Data Documentation

template<class T >
T OVR::Angle< T >::a [private]

Definition at line 1074 of file OVR_Math.h.


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


oculus_sdk
Author(s):
autogenerated on Fri Aug 28 2015 11:53:12