SourceXtractorPlusPlus  0.19
SourceXtractor++, the next generation SExtractor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
SourceXtractor::PixelRectangle Class Reference

#include <PixelRectangle.h>

Collaboration diagram for SourceXtractor::PixelRectangle:
Collaboration graph
[legend]

Public Member Functions

 PixelRectangle ()
 
 PixelRectangle (const PixelRectangle &rectangle)
 
 PixelRectangle (PixelCoordinate min_coord, PixelCoordinate max_coord)
 
PixelCoordinate getTopLeft () const
 
PixelCoordinate getBottomRight () const
 
int getWidth () const
 
int getHeight () const
 

Private Attributes

PixelCoordinate m_min_coord
 
PixelCoordinate m_max_coord
 

Detailed Description

Definition at line 15 of file PixelRectangle.h.

Constructor & Destructor Documentation

SourceXtractor::PixelRectangle::PixelRectangle ( )
inline

Definition at line 18 of file PixelRectangle.h.

SourceXtractor::PixelRectangle::PixelRectangle ( const PixelRectangle rectangle)
inline

Definition at line 21 of file PixelRectangle.h.

References m_min_coord.

SourceXtractor::PixelRectangle::PixelRectangle ( PixelCoordinate  min_coord,
PixelCoordinate  max_coord 
)
inline

Definition at line 24 of file PixelRectangle.h.

Member Function Documentation

PixelCoordinate SourceXtractor::PixelRectangle::getBottomRight ( ) const
inline

Definition at line 34 of file PixelRectangle.h.

References m_max_coord, and SourceXtractor::PixelCoordinate::m_x.

int SourceXtractor::PixelRectangle::getHeight ( ) const
inline
PixelCoordinate SourceXtractor::PixelRectangle::getTopLeft ( ) const
inline

Definition at line 29 of file PixelRectangle.h.

References m_max_coord, m_min_coord, and SourceXtractor::PixelCoordinate::m_x.

int SourceXtractor::PixelRectangle::getWidth ( ) const
inline

Definition at line 39 of file PixelRectangle.h.

References m_max_coord, m_min_coord, and SourceXtractor::PixelCoordinate::m_x.

Member Data Documentation

PixelCoordinate SourceXtractor::PixelRectangle::m_max_coord
private

Definition at line 52 of file PixelRectangle.h.

Referenced by getBottomRight(), getHeight(), getTopLeft(), and getWidth().

PixelCoordinate SourceXtractor::PixelRectangle::m_min_coord
private

Definition at line 52 of file PixelRectangle.h.

Referenced by getHeight(), getTopLeft(), getWidth(), and PixelRectangle().


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