libwallaby  v24
The wallaby standard library
Rect< T > Class Template Reference

#include <geom.hpp>

Public Member Functions

 Rect (const T &x, const T &y, const T &width, const T &height)
 
const T & x () const
 
const T & y () const
 
const T & width () const
 
const T & height () const
 
Point2< T > center () const
 
void setX (const T &x)
 
void setY (const T &y)
 
void setWidth (const T &width)
 
void setHeight (const T &height)
 
area () const
 
rectangle toCRectangle () const
 

Constructor & Destructor Documentation

template<typename T>
Rect< T >::Rect ( const T &  x,
const T &  y,
const T &  width,
const T &  height 
)
inline

Member Function Documentation

template<typename T>
T Rect< T >::area ( ) const
inline
template<typename T>
Point2<T> Rect< T >::center ( ) const
inline
template<typename T>
const T& Rect< T >::height ( ) const
inline
template<typename T>
void Rect< T >::setHeight ( const T &  height)
inline
template<typename T>
void Rect< T >::setWidth ( const T &  width)
inline
template<typename T>
void Rect< T >::setX ( const T &  x)
inline
template<typename T>
void Rect< T >::setY ( const T &  y)
inline
template<typename T>
rectangle Rect< T >::toCRectangle ( ) const
inline
template<typename T>
const T& Rect< T >::width ( ) const
inline
template<typename T>
const T& Rect< T >::x ( ) const
inline
template<typename T>
const T& Rect< T >::y ( ) const
inline

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