Public Member Functions

CL_Sized Class Reference
[clanCore Math]

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

#include <size.h>

Inheritance diagram for CL_Sized:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CL_Sized ()
 CL_Sized (const CL_Sizex< float > &copy)
 CL_Sized (const CL_Sizex< int > &copy)
 CL_Sized (const CL_Sizex< double > &s)
 CL_Sized (double width, double height)
Operations

CL_Sizex< double > & operator+= (const CL_Sizex< double > &s)
 Size += Size operator.
CL_Sizex< double > & operator+= (const double &s)
 Size += operator.
CL_Sizex< double > & operator-= (const CL_Sizex< double > &s)
 Size -= Size operator.
CL_Sizex< double > & operator-= (const double &s)
 Size -= operator.
CL_Sizex< double > operator+ (const CL_Sizex< double > &s) const
 Size + Size operator.
CL_Sizex< double > operator+ (const double &s) const
 Size + operator.
CL_Sizex< double > operator- (const CL_Sizex< double > &s) const
 Size - Size operator.
CL_Sizex< double > operator- (const double &s) const
 Size - operator.
CL_Sizex< double > & operator*= (const double &s)
 Size *= operator.
CL_Sizex< double > & operator/= (const double &s)
 Size /= operator.
CL_Sizex< double > operator* (const double &s) const
 Size * operator.
CL_Sizex< double > operator/ (const double &s) const
 Size / operator.
bool operator== (const CL_Sizex< double > &s) const
 Size == Size operator (deep compare).
bool operator!= (const CL_Sizex< double > &s) const
 Size != Size operator (deep compare).

Public Attributes

Attributes

double width
 Size width.
double height
 Size height.

Detailed Description

2D (width,height) size structure - Double


Constructor & Destructor Documentation

CL_Sized::CL_Sized (  )  [inline]
CL_Sized::CL_Sized ( double  width,
double  height 
) [inline]
CL_Sized::CL_Sized ( const CL_Sizex< double > &  s  )  [inline]
CL_Sized::CL_Sized ( const CL_Sizex< int > &  copy  )  [inline]
CL_Sized::CL_Sized ( const CL_Sizex< float > &  copy  )  [inline]

Member Function Documentation

bool CL_Sizex< double >::operator!= ( const CL_Sizex< double > &  s  )  const [inline, inherited]

Size != Size operator (deep compare).

CL_Sizex<double > CL_Sizex< double >::operator* ( const double &  s  )  const [inline, inherited]

Size * operator.

CL_Sizex<double >& CL_Sizex< double >::operator*= ( const double &  s  )  [inline, inherited]

Size *= operator.

CL_Sizex<double > CL_Sizex< double >::operator+ ( const CL_Sizex< double > &  s  )  const [inline, inherited]

Size + Size operator.

CL_Sizex<double > CL_Sizex< double >::operator+ ( const double &  s  )  const [inline, inherited]

Size + operator.

CL_Sizex<double >& CL_Sizex< double >::operator+= ( const CL_Sizex< double > &  s  )  [inline, inherited]

Size += Size operator.

CL_Sizex<double >& CL_Sizex< double >::operator+= ( const double &  s  )  [inline, inherited]

Size += operator.

CL_Sizex<double > CL_Sizex< double >::operator- ( const double &  s  )  const [inline, inherited]

Size - operator.

CL_Sizex<double > CL_Sizex< double >::operator- ( const CL_Sizex< double > &  s  )  const [inline, inherited]

Size - Size operator.

CL_Sizex<double >& CL_Sizex< double >::operator-= ( const double &  s  )  [inline, inherited]

Size -= operator.

CL_Sizex<double >& CL_Sizex< double >::operator-= ( const CL_Sizex< double > &  s  )  [inline, inherited]

Size -= Size operator.

CL_Sizex<double > CL_Sizex< double >::operator/ ( const double &  s  )  const [inline, inherited]

Size / operator.

CL_Sizex<double >& CL_Sizex< double >::operator/= ( const double &  s  )  [inline, inherited]

Size /= operator.

bool CL_Sizex< double >::operator== ( const CL_Sizex< double > &  s  )  const [inline, inherited]

Size == Size operator (deep compare).


Member Data Documentation

double CL_Sizex< double >::height [inherited]

Size height.

Referenced by CL_Sized().

double CL_Sizex< double >::width [inherited]

Size width.

Referenced by CL_Sized().


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