fs::mth::Rec2_T< T > Class Template Reference

#include <fsRec2.h>

Collaboration diagram for fs::mth::Rec2_T< T >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<typename T>
class fs::mth::Rec2_T< T >

Rectangle representation (incomplete).
Examples:

_tests/fsMath/main.cpp.

Definition at line 27 of file fsRec2.h.

Public Member Functions

 Rec2_T ()
 Rec2_T (const Vec2_T< T > &p1, const Vec2_T< T > p2)
 Rec2_T (T x1, T y1, T x2, T y2)
 Rec2_T (const Rec2_T &RHS)
Rec2_Toperator= (const Rec2_T &RHS)
bool operator== (const Rec2_T &RHS) const
bool operator!= (const Rec2_T &RHS) const
Vec2_T< T > Delta () const
 Returns the diagonal vector (p2 - p1).

Public Attributes

Vec2_T< T > p1
Vec2_T< T > p2


Constructor & Destructor Documentation

template<typename T>
fs::mth::Rec2_T< T >::Rec2_T (  )  [inline]

Definition at line 58 of file fsRec2.h.

template<typename T>
fs::mth::Rec2_T< T >::Rec2_T ( const Vec2_T< T > &  p1,
const Vec2_T< T >  p2 
) [inline]

Definition at line 63 of file fsRec2.h.

template<typename T>
fs::mth::Rec2_T< T >::Rec2_T ( x1,
y1,
x2,
y2 
) [inline]

Definition at line 70 of file fsRec2.h.

template<typename T>
fs::mth::Rec2_T< T >::Rec2_T ( const Rec2_T< T > &  RHS  )  [inline]

Definition at line 77 of file fsRec2.h.


Member Function Documentation

template<typename T>
Vec2_T< T > fs::mth::Rec2_T< T >::Delta (  )  const [inline]

Returns the diagonal vector (p2 - p1).

Examples:
_tests/fsMath/main.cpp.

Definition at line 102 of file fsRec2.h.

References fs::mth::Rec2_T< T >::p1, and fs::mth::Rec2_T< T >::p2.

template<typename T>
bool fs::mth::Rec2_T< T >::operator!= ( const Rec2_T< T > &  RHS  )  const [inline]

Definition at line 96 of file fsRec2.h.

References fs::mth::Rec2_T< T >::p1, and fs::mth::Rec2_T< T >::p2.

template<typename T>
Rec2_T< T > & fs::mth::Rec2_T< T >::operator= ( const Rec2_T< T > &  RHS  )  [inline]

Definition at line 82 of file fsRec2.h.

References fs::mth::Rec2_T< T >::p1, and fs::mth::Rec2_T< T >::p2.

template<typename T>
bool fs::mth::Rec2_T< T >::operator== ( const Rec2_T< T > &  RHS  )  const [inline]

Definition at line 90 of file fsRec2.h.

References fs::mth::Rec2_T< T >::p1, and fs::mth::Rec2_T< T >::p2.


Member Data Documentation

template<typename T>
Vec2_T<T> fs::mth::Rec2_T< T >::p1

Definition at line 54 of file fsRec2.h.

template<typename T>
Vec2_T<T> fs::mth::Rec2_T< T >::p2

Definition at line 54 of file fsRec2.h.


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

FipS' Code (Thu Feb 15 22:43:48 2007) - (c) Filip STOKLAS (FipS) - [ www ] [ Guest Book ]