SourceXtractorPlusPlus  0.12
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
SourceXtractor::PixelBoundaries Class Reference

The bounding box of all the pixels in the source. Both min and max coordinate are inclusive. More...

#include <PixelBoundaries.h>

Inheritance diagram for SourceXtractor::PixelBoundaries:
[legend]
Collaboration diagram for SourceXtractor::PixelBoundaries:
[legend]

Public Member Functions

virtual ~PixelBoundaries ()=default
 Destructor. More...
 
 PixelBoundaries (int min_x, int min_y, int max_x, int max_y)
 
PixelCoordinate getMin () const
 
PixelCoordinate getMax () const
 
int getWidth () const
 
int getHeight () const
 
- Public Member Functions inherited from SourceXtractor::Property
virtual ~Property ()=default
 

Private Attributes

PixelCoordinate m_min
 
PixelCoordinate m_max
 

Detailed Description

The bounding box of all the pixels in the source. Both min and max coordinate are inclusive.

Definition at line 37 of file PixelBoundaries.h.

Constructor & Destructor Documentation

virtual SourceXtractor::PixelBoundaries::~PixelBoundaries ( )
virtualdefault

Destructor.

SourceXtractor::PixelBoundaries::PixelBoundaries ( int  min_x,
int  min_y,
int  max_x,
int  max_y 
)
inline

Definition at line 46 of file PixelBoundaries.h.

Member Function Documentation

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

Definition at line 61 of file PixelBoundaries.h.

References m_max, m_min, and SourceXtractor::PixelCoordinate::m_y.

PixelCoordinate SourceXtractor::PixelBoundaries::getMax ( ) const
inline

Definition at line 53 of file PixelBoundaries.h.

References m_max.

Referenced by SourceXtractor::OverlappingBoundariesCriteria::shouldGroup().

PixelCoordinate SourceXtractor::PixelBoundaries::getMin ( ) const
inline

Definition at line 49 of file PixelBoundaries.h.

References m_min.

Referenced by SourceXtractor::OverlappingBoundariesCriteria::shouldGroup().

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

Definition at line 57 of file PixelBoundaries.h.

References m_max, m_min, and SourceXtractor::PixelCoordinate::m_x.

Member Data Documentation

PixelCoordinate SourceXtractor::PixelBoundaries::m_max
private

Definition at line 66 of file PixelBoundaries.h.

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

PixelCoordinate SourceXtractor::PixelBoundaries::m_min
private

Definition at line 66 of file PixelBoundaries.h.

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


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