OpenMining  0.01
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
utils::Rectangle< Tx, Ty > Class Template Reference

#include <Rectangle.h>

Public Member Functions

 Rectangle (Tx x, Ty y)
 
 Rectangle (const CentrePoint< Tx, Ty > &centrePoint, const Width< Tx > &width, const Height< Ty > &height)
 
void setCentre (Tx x, Ty y)
 
void setCentre (const CentrePoint_t &centrePoint)
 
CentrePoint< Tx, Ty > centrePoint (void)
 
Tx xCentre (void) const
 
Ty yCentre (void) const
 
Tx xMin (void) const
 
Tx xMax (void) const
 
Tx width (void) const
 
Ty yMin (void) const
 
Ty yMax (void) const
 
Ty height (void) const
 

Private Attributes

Tx m_width
 
Tx m_xmin
 
Tx m_xmax
 
Ty m_height
 
Ty m_ymin
 
Ty m_ymax
 

Constructor & Destructor Documentation

template<class Tx , class Ty >
utils::Rectangle< Tx, Ty >::Rectangle ( Tx  x,
Ty  y 
)
inline
template<class Tx , class Ty >
utils::Rectangle< Tx, Ty >::Rectangle ( const CentrePoint< Tx, Ty > &  centrePoint,
const Width< Tx > &  width,
const Height< Ty > &  height 
)
inline

Here is the call graph for this function:

Member Function Documentation

template<class Tx , class Ty >
CentrePoint<Tx, Ty> utils::Rectangle< Tx, Ty >::centrePoint ( void  )
inline
template<class Tx , class Ty >
Ty utils::Rectangle< Tx, Ty >::height ( void  ) const
inline
template<class Tx , class Ty >
void utils::Rectangle< Tx, Ty >::setCentre ( Tx  x,
Ty  y 
)
inline

Here is the caller graph for this function:

template<class Tx , class Ty >
void utils::Rectangle< Tx, Ty >::setCentre ( const CentrePoint_t centrePoint)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

template<class Tx , class Ty >
Tx utils::Rectangle< Tx, Ty >::width ( void  ) const
inline
template<class Tx , class Ty >
Tx utils::Rectangle< Tx, Ty >::xCentre ( void  ) const
inline

Here is the caller graph for this function:

template<class Tx , class Ty >
Tx utils::Rectangle< Tx, Ty >::xMax ( void  ) const
inline

Here is the caller graph for this function:

template<class Tx , class Ty >
Tx utils::Rectangle< Tx, Ty >::xMin ( void  ) const
inline

Here is the caller graph for this function:

template<class Tx , class Ty >
Ty utils::Rectangle< Tx, Ty >::yCentre ( void  ) const
inline

Here is the caller graph for this function:

template<class Tx , class Ty >
Ty utils::Rectangle< Tx, Ty >::yMax ( void  ) const
inline

Here is the caller graph for this function:

template<class Tx , class Ty >
Ty utils::Rectangle< Tx, Ty >::yMin ( void  ) const
inline

Here is the caller graph for this function:

Member Data Documentation

template<class Tx , class Ty >
Ty utils::Rectangle< Tx, Ty >::m_height
private
template<class Tx , class Ty >
Tx utils::Rectangle< Tx, Ty >::m_width
private
template<class Tx , class Ty >
Tx utils::Rectangle< Tx, Ty >::m_xmax
private
template<class Tx , class Ty >
Tx utils::Rectangle< Tx, Ty >::m_xmin
private
template<class Tx , class Ty >
Ty utils::Rectangle< Tx, Ty >::m_ymax
private
template<class Tx , class Ty >
Ty utils::Rectangle< Tx, Ty >::m_ymin
private

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