Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::Size< T > Class Template Reference

#include "OVR_Math.h"

Inheritance diagram for OVR::Size< T >:
Inheritance graph
Collaboration diagram for OVR::Size< T >:
Collaboration graph

Public Types

typedef CompatibleTypes< Size
< T > >::Type 
CompatibleType
 

Public Member Functions

 Size ()
 
 Size (T w_, T h_)
 
 Size (T s)
 
 Size (const Size< typename Math< T >::OtherFloatType > &src)
 
 Size (const CompatibleType &s)
 
 operator const CompatibleType & () const
 
bool operator== (const Size &b) const
 
bool operator!= (const Size &b) const
 
Size operator+ (const Size &b) const
 
Sizeoperator+= (const Size &b)
 
Size operator- (const Size &b) const
 
Sizeoperator-= (const Size &b)
 
Size operator- () const
 
Size operator* (const Size &b) const
 
Sizeoperator*= (const Size &b)
 
Size operator/ (const Size &b) const
 
Sizeoperator/= (const Size &b)
 
Size operator* (T s) const
 
Sizeoperator*= (T s)
 
Size operator/ (T s) const
 
Sizeoperator/= (T s)
 
Area () const
 
Vector2< T > ToVector () const
 

Static Public Member Functions

static Size Min (const Size &a, const Size &b)
 
static Size Max (const Size &a, const Size &b)
 

Data Fields

w
 
h
 

Detailed Description

template<class T>
class OVR::Size< T >

Definition at line 122 of file OVR_Math.h.

Member Typedef Documentation

template<class T>
typedef CompatibleTypes<Size<T> >::Type OVR::Size< T >::CompatibleType

Definition at line 595 of file OVR_Math.h.

Constructor & Destructor Documentation

template<class T>
OVR::Size< T >::Size ( )
inline

Definition at line 588 of file OVR_Math.h.

template<class T>
OVR::Size< T >::Size ( w_,
h_ 
)
inline

Definition at line 589 of file OVR_Math.h.

template<class T>
OVR::Size< T >::Size ( s)
inlineexplicit

Definition at line 590 of file OVR_Math.h.

template<class T>
OVR::Size< T >::Size ( const Size< typename Math< T >::OtherFloatType > &  src)
inlineexplicit

Definition at line 591 of file OVR_Math.h.

template<class T>
OVR::Size< T >::Size ( const CompatibleType s)
inline

Definition at line 597 of file OVR_Math.h.

Member Function Documentation

template<class T>
T OVR::Size< T >::Area ( ) const
inline

Definition at line 630 of file OVR_Math.h.

template<class T>
static Size OVR::Size< T >::Max ( const Size< T > &  a,
const Size< T > &  b 
)
inlinestatic

Definition at line 626 of file OVR_Math.h.

template<class T>
static Size OVR::Size< T >::Min ( const Size< T > &  a,
const Size< T > &  b 
)
inlinestatic

Definition at line 624 of file OVR_Math.h.

template<class T>
OVR::Size< T >::operator const CompatibleType & ( ) const
inline

Definition at line 599 of file OVR_Math.h.

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

Definition at line 606 of file OVR_Math.h.

template<class T>
Size OVR::Size< T >::operator* ( const Size< T > &  b) const
inline

Definition at line 613 of file OVR_Math.h.

template<class T>
Size OVR::Size< T >::operator* ( s) const
inline

Definition at line 619 of file OVR_Math.h.

template<class T>
Size& OVR::Size< T >::operator*= ( const Size< T > &  b)
inline

Definition at line 614 of file OVR_Math.h.

template<class T>
Size& OVR::Size< T >::operator*= ( s)
inline

Definition at line 620 of file OVR_Math.h.

template<class T>
Size OVR::Size< T >::operator+ ( const Size< T > &  b) const
inline

Definition at line 608 of file OVR_Math.h.

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

Definition at line 609 of file OVR_Math.h.

template<class T>
Size OVR::Size< T >::operator- ( const Size< T > &  b) const
inline

Definition at line 610 of file OVR_Math.h.

template<class T>
Size OVR::Size< T >::operator- ( ) const
inline

Definition at line 612 of file OVR_Math.h.

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

Definition at line 611 of file OVR_Math.h.

template<class T>
Size OVR::Size< T >::operator/ ( const Size< T > &  b) const
inline

Definition at line 615 of file OVR_Math.h.

template<class T>
Size OVR::Size< T >::operator/ ( s) const
inline

Definition at line 621 of file OVR_Math.h.

template<class T>
Size& OVR::Size< T >::operator/= ( const Size< T > &  b)
inline

Definition at line 616 of file OVR_Math.h.

template<class T>
Size& OVR::Size< T >::operator/= ( s)
inline

Definition at line 622 of file OVR_Math.h.

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

Definition at line 605 of file OVR_Math.h.

template<class T>
Vector2<T> OVR::Size< T >::ToVector ( ) const
inline

Definition at line 632 of file OVR_Math.h.

Field Documentation

template<class T>
T OVR::Size< T >::h

Definition at line 586 of file OVR_Math.h.

template<class T>
T OVR::Size< T >::w

Definition at line 586 of file OVR_Math.h.


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