SourceXtractorPlusPlus
0.15
Please provide a description of the project.
|
Groups sources if their bounding boxes overlap. More...
#include <OverlappingBoundariesCriteria.h>
Public Member Functions | |
virtual bool | shouldGroup (const SourceInterface &first, const SourceInterface &second) const override |
Determines if the two sources should be grouped together. More... | |
![]() | |
virtual | ~GroupingCriteria ()=default |
Destructor. More... | |
virtual std::set< PropertyId > | requiredProperties () const |
Return a set of used properties so they can be pre-fetched. More... | |
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.