2D (width,height) size structure - Float More...

#include <size.h>

+ Inheritance diagram for clan::Sizef:

Public Member Functions

 Sizef ()
 
 Sizef (float width, float height)
 
 Sizef (const Sizex< float > &s)
 
 Sizef (const Vec2< float > &s)
 
 Sizef (const Sizex< int > &copy)
 
 Sizef (const Sizex< double > &copy)
 
- Public Member Functions inherited from clan::Sizex< float >
 Sizex ()
 Constructs a size structure. More...
 
 Sizex (floatwidth, floatheight)
 Constructs a size structure. More...
 
 Sizex (const Sizex< float > &s)
 Constructs a size structure. More...
 
 operator Vec2< float > () const
 
bool operator!= (const Sizex< float > &s) const
 Size != Size operator (deep compare). More...
 
Sizex< float > operator* (const float &s) const
 Size * operator. More...
 
Sizex< float > & operator*= (const float &s)
 Size *= operator. More...
 
Sizex< float > operator+ (const Sizex< float > &s) const
 Size + Size operator. More...
 
Sizex< float > operator+ (const float &s) const
 Size + operator. More...
 
Sizex< float > & operator+= (const Sizex< float > &s)
 Size += Size operator. More...
 
Sizex< float > & operator+= (const float &s)
 Size += operator. More...
 
Sizex< float > operator- (const Sizex< float > &s) const
 Size - Size operator. More...
 
Sizex< float > operator- (const float &s) const
 Size - operator. More...
 
Sizex< float > & operator-= (const Sizex< float > &s)
 Size -= Size operator. More...
 
Sizex< float > & operator-= (const float &s)
 Size -= operator. More...
 
Sizex< float > operator/ (const float &s) const
 Size / operator. More...
 
Sizex< float > & operator/= (const float &s)
 Size /= operator. More...
 
bool operator== (const Sizex< float > &s) const
 Size == Size operator (deep compare). More...
 

Additional Inherited Members

- Public Attributes inherited from clan::Sizex< float >
float height
 Size height. More...
 
float width
 Size width. More...
 

Detailed Description

2D (width,height) size structure - Float

Constructor & Destructor Documentation

clan::Sizef::Sizef ( )
inline
clan::Sizef::Sizef ( float  width,
float  height 
)
inline
clan::Sizef::Sizef ( const Sizex< float > &  s)
inline
clan::Sizef::Sizef ( const Vec2< float > &  s)
inline
clan::Sizef::Sizef ( const Sizex< int > &  copy)
inline
clan::Sizef::Sizef ( const Sizex< double > &  copy)
inlineexplicit

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