Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Examples  

xchen::Rect< T > Class Template Reference

#include <Rect.H>

List of all members.

Public Methods

 Rect (T sx=0, T sy=0, T w=1, T h=1)
StartX () const
StartY () const
Width () const
Height () const
T & StartX ()
T & StartY ()
T & Width ()
T & Height ()
Vector< T, 2 > LowerLeft () const
Vector< T, 2 > UpperRight () const
dVector2D Center () const
bool Contain (T x, T y) const

template<class T>
class xchen::Rect< T >


Constructor & Destructor Documentation

template<class T>
xchen::Rect< T >::Rect< T >   sx = 0,
  sy = 0,
  w = 1,
  h = 1
[inline]
 


Member Function Documentation

template<class T>
dVector2D xchen::Rect< T >::Center   const [inline]
 

template<class T>
bool xchen::Rect< T >::Contain   x,
  y
const [inline]
 

template<class T>
T& xchen::Rect< T >::Height   [inline]
 

template<class T>
T xchen::Rect< T >::Height   const [inline]
 

template<class T>
Vector<T,2> xchen::Rect< T >::LowerLeft   const [inline]
 

template<class T>
T& xchen::Rect< T >::StartX   [inline]
 

template<class T>
T xchen::Rect< T >::StartX   const [inline]
 

template<class T>
T& xchen::Rect< T >::StartY   [inline]
 

template<class T>
T xchen::Rect< T >::StartY   const [inline]
 

template<class T>
Vector<T,2> xchen::Rect< T >::UpperRight   const [inline]
 

template<class T>
T& xchen::Rect< T >::Width   [inline]
 

template<class T>
T xchen::Rect< T >::Width   const [inline]
 


The documentation for this class was generated from the following file:
Generated on Wed Apr 7 21:40:51 2004 by doxygen1.2.18