Welcome to the NetCologne GmbH open source mirroring service!

This machine mirrors various open-source projects. 20 Gbit/s uplink.

If there are any issues or you want another project mirrored, please contact mirror-service -=AT=- netcologne DOT de !

TemplateRect< T > class Reference
Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Rect< T > Class Template Reference

#include <rect.hxx>

Collaboration diagram for Rect< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Rect ()
 Rect (const T &x1_, const T &y1_, const T &x2_, const T &y2_)
get_width ()
get_height ()
Vector2d get_center () const

Public Attributes

x1
y1
x2
y2

template<class T>
class Rect< T >


Constructor & Destructor Documentation

template<class T>
Rect< T >::Rect   [inline]
 

Definition at line 37 of file rect.hxx.

template<class T>
Rect< T >::Rect const T &    x1_,
const T &    y1_,
const T &    x2_,
const T &    y2_
[inline]
 

Definition at line 41 of file rect.hxx.

References Math::max(), and Math::min().


Member Function Documentation

template<class T>
Vector2d Rect< T >::get_center   const [inline]
 

Definition at line 61 of file rect.hxx.

Referenced by Selection::get_center(), and Selection::scale().

template<class T>
T Rect< T >::get_height   [inline]
 

Definition at line 56 of file rect.hxx.

template<class T>
T Rect< T >::get_width   [inline]
 

Definition at line 51 of file rect.hxx.


Member Data Documentation

template<class T>
T Rect< T >::x1
 

Definition at line 32 of file rect.hxx.

Referenced by World::add_rect_collider(), WorldViewSelectTool::draw_foreground(), Selection::get_center(), and Selection::scale().

template<class T>
T Rect< T >::x2
 

Definition at line 34 of file rect.hxx.

Referenced by World::add_rect_collider(), WorldViewSelectTool::draw_foreground(), Selection::get_center(), and Selection::scale().

template<class T>
T Rect< T >::y1
 

Definition at line 33 of file rect.hxx.

Referenced by World::add_rect_collider(), WorldViewSelectTool::draw_foreground(), Selection::get_center(), and Selection::scale().

template<class T>
T Rect< T >::y2
 

Definition at line 35 of file rect.hxx.

Referenced by World::add_rect_collider(), WorldViewSelectTool::draw_foreground(), Selection::get_center(), and Selection::scale().


The documentation for this class was generated from the following file:
Generated on Thu Jul 24 10:25:24 2003 for Construo by doxygen1.3-rc3