Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
Frm::trect< T > Class Template Reference

#include <Frm_3DMath.h>

Public Member Functions

 trect (void)
 
 trect (const trect< T > &prect)
 
trect< T > & operator= (const trect< T > &prect)
 
trect< T > & operator+= (const vector< T > &pV)
 
 trect (const T pxs, const T pys, const T pxe, const T pye)
 
void Set (const T pxs, const T pys, const T pxe, const T pye)
 
bool _fastcall InRect (const T &px, const T &py)
 
bool _fastcall InRect (const vector< T > &pv)
 
bool _fastcall InRect (const trect< T > &prect)
 
bool _fastcall Intersect (const trect< T > &prect)
 
bool _fastcall Union (const trect< T > &prect)
 
 trect (void)
 
 trect (const trect< T > &prect)
 
trect< T > & operator= (const trect< T > &prect)
 
trect< T > & operator+= (const vector< T > &pV)
 
 trect (const T pxs, const T pys, const T pxe, const T pye)
 
void Set (const T pxs, const T pys, const T pxe, const T pye)
 
bool _fastcall InRect (const T &px, const T &py)
 
bool _fastcall InRect (const vector< T > &pv)
 
bool _fastcall InRect (const trect< T > &prect)
 
bool _fastcall Intersect (const trect< T > &prect)
 
bool _fastcall Union (const trect< T > &prect)
 

Public Attributes

xs
 
ys
 
xe
 
ye
 

Constructor & Destructor Documentation

◆ trect() [1/6]

template<typename T >
Frm::trect< T >::trect ( void  )
inline

◆ trect() [2/6]

template<typename T >
Frm::trect< T >::trect ( const trect< T > &  prect)
inline

◆ trect() [3/6]

template<typename T >
Frm::trect< T >::trect ( const T  pxs,
const T  pys,
const T  pxe,
const T  pye 
)
inline

◆ trect() [4/6]

template<typename T >
Frm::trect< T >::trect ( void  )
inline

◆ trect() [5/6]

template<typename T >
Frm::trect< T >::trect ( const trect< T > &  prect)
inline

◆ trect() [6/6]

template<typename T >
Frm::trect< T >::trect ( const T  pxs,
const T  pys,
const T  pxe,
const T  pye 
)
inline

Member Function Documentation

◆ InRect() [1/6]

template<typename T >
bool _fastcall Frm::trect< T >::InRect ( const T &  px,
const T &  py 
)
inline

◆ InRect() [2/6]

template<typename T >
bool _fastcall Frm::trect< T >::InRect ( const T &  px,
const T &  py 
)
inline

◆ InRect() [3/6]

template<typename T >
bool _fastcall Frm::trect< T >::InRect ( const trect< T > &  prect)
inline

◆ InRect() [4/6]

template<typename T >
bool _fastcall Frm::trect< T >::InRect ( const trect< T > &  prect)
inline

◆ InRect() [5/6]

template<typename T >
bool _fastcall Frm::trect< T >::InRect ( const vector< T > &  pv)
inline

◆ InRect() [6/6]

template<typename T >
bool _fastcall Frm::trect< T >::InRect ( const vector< T > &  pv)
inline

◆ Intersect() [1/2]

template<typename T >
bool _fastcall Frm::trect< T >::Intersect ( const trect< T > &  prect)
inline

◆ Intersect() [2/2]

template<typename T >
bool _fastcall Frm::trect< T >::Intersect ( const trect< T > &  prect)
inline

◆ operator+=() [1/2]

template<typename T >
trect<T>& Frm::trect< T >::operator+= ( const vector< T > &  pV)
inline

◆ operator+=() [2/2]

template<typename T >
trect<T>& Frm::trect< T >::operator+= ( const vector< T > &  pV)
inline

◆ operator=() [1/2]

template<typename T >
trect<T>& Frm::trect< T >::operator= ( const trect< T > &  prect)
inline

◆ operator=() [2/2]

template<typename T >
trect<T>& Frm::trect< T >::operator= ( const trect< T > &  prect)
inline

◆ Set() [1/2]

template<typename T >
void Frm::trect< T >::Set ( const T  pxs,
const T  pys,
const T  pxe,
const T  pye 
)
inline

◆ Set() [2/2]

template<typename T >
void Frm::trect< T >::Set ( const T  pxs,
const T  pys,
const T  pxe,
const T  pye 
)
inline

◆ Union() [1/2]

template<typename T >
bool _fastcall Frm::trect< T >::Union ( const trect< T > &  prect)
inline

◆ Union() [2/2]

template<typename T >
bool _fastcall Frm::trect< T >::Union ( const trect< T > &  prect)
inline

Member Data Documentation

◆ xe

template<typename T >
T Frm::trect< T >::xe

◆ xs

template<typename T >
T Frm::trect< T >::xs

◆ ye

template<typename T >
T Frm::trect< T >::ye

◆ ys

template<typename T >
T Frm::trect< T >::ys

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