SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SourceXtractor::MeasurementFrameRectangle Class Reference

#include <MeasurementFrameRectangle.h>

Inheritance diagram for SourceXtractor::MeasurementFrameRectangle:
Collaboration diagram for SourceXtractor::MeasurementFrameRectangle:

Public Member Functions

virtual ~MeasurementFrameRectangle ()=default
 MeasurementFrameRectangle (bool bad_projection)
 MeasurementFrameRectangle (PixelCoordinate min_coord, PixelCoordinate max_coord)
PixelCoordinate getTopLeft () const
PixelCoordinate getBottomRight () const
int getWidth () const
int getHeight () const
PixelRectangle getRect () const
bool badProjection () const
Public Member Functions inherited from SourceXtractor::Property
virtual ~Property ()=default

Private Attributes

PixelCoordinate m_min_coord
PixelCoordinate m_max_coord
bool m_bad_projection

Detailed Description

Definition at line 34 of file MeasurementFrameRectangle.h.

Constructor & Destructor Documentation

◆ ~MeasurementFrameRectangle()

virtual SourceXtractor::MeasurementFrameRectangle::~MeasurementFrameRectangle ( )
virtualdefault

◆ MeasurementFrameRectangle() [1/2]

SourceXtractor::MeasurementFrameRectangle::MeasurementFrameRectangle ( bool bad_projection)
inlineexplicit

Definition at line 38 of file MeasurementFrameRectangle.h.

References m_bad_projection, m_max_coord, and m_min_coord.

◆ MeasurementFrameRectangle() [2/2]

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

Member Function Documentation

◆ badProjection()

bool SourceXtractor::MeasurementFrameRectangle::badProjection ( ) const
inline

◆ getBottomRight()

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

Definition at line 51 of file MeasurementFrameRectangle.h.

References m_max_coord.

◆ getHeight()

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

Definition at line 62 of file MeasurementFrameRectangle.h.

References m_max_coord, and m_min_coord.

◆ getRect()

PixelRectangle SourceXtractor::MeasurementFrameRectangle::getRect ( ) const
inline

Definition at line 68 of file MeasurementFrameRectangle.h.

References m_max_coord, and m_min_coord.

◆ getTopLeft()

PixelCoordinate SourceXtractor::MeasurementFrameRectangle::getTopLeft ( ) const
inline

Definition at line 46 of file MeasurementFrameRectangle.h.

References m_max_coord, and m_min_coord.

◆ getWidth()

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

Definition at line 56 of file MeasurementFrameRectangle.h.

References m_max_coord, and m_min_coord.

Member Data Documentation

◆ m_bad_projection

bool SourceXtractor::MeasurementFrameRectangle::m_bad_projection
private

◆ m_max_coord

PixelCoordinate SourceXtractor::MeasurementFrameRectangle::m_max_coord
private

◆ m_min_coord

PixelCoordinate SourceXtractor::MeasurementFrameRectangle::m_min_coord
private

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