SourceXtractorPlusPlus  0.16
Please provide a description of the project.
Public Member Functions | Private Attributes | List of all members
SourceXtractor::PixelRectangle Class Reference

#include <PixelRectangle.h>

Collaboration diagram for SourceXtractor::PixelRectangle:
[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

◆ PixelRectangle() [1/3]

SourceXtractor::PixelRectangle::PixelRectangle ( )
inline

Definition at line 18 of file PixelRectangle.h.

◆ PixelRectangle() [2/3]

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

Definition at line 21 of file PixelRectangle.h.

◆ PixelRectangle() [3/3]

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

Member Function Documentation

◆ getBottomRight()

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

Definition at line 34 of file PixelRectangle.h.

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

◆ getHeight()

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

◆ getTopLeft()

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.

◆ getWidth()

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

◆ m_max_coord

PixelCoordinate SourceXtractor::PixelRectangle::m_max_coord
private

Definition at line 52 of file PixelRectangle.h.

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

◆ m_min_coord

PixelCoordinate SourceXtractor::PixelRectangle::m_min_coord
private

Definition at line 52 of file PixelRectangle.h.

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


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