|
SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
|
Groups sources if their bounding boxes overlap. More...
#include <OverlappingBoundariesCriteria.h>


Public Member Functions | |
| bool | shouldGroup (const SourceInterface &first, const SourceInterface &second) const override |
| Determines if the two sources should be grouped together. | |
| Public Member Functions inherited from SourceXtractor::GroupingCriteria | |
| virtual | ~GroupingCriteria ()=default |
| Destructor. | |
| virtual std::set< PropertyId > | requiredProperties () const |
| Return a set of used properties so they can be pre-fetched. | |
Groups sources if their bounding boxes overlap.
Definition at line 36 of file OverlappingBoundariesCriteria.h.
|
overridevirtual |
Determines if the two sources should be grouped together.
Implements SourceXtractor::GroupingCriteria.
Definition at line 28 of file OverlappingBoundariesCriteria.cpp.
References SourceXtractor::PixelBoundaries::getMax(), SourceXtractor::PixelBoundaries::getMin(), SourceXtractor::SourceInterface::getProperty(), SourceXtractor::PixelCoordinate::m_x, and SourceXtractor::PixelCoordinate::m_y.
