|
SourceXtractorPlusPlus
0.12
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... | |
Public Member Functions inherited from SourceXtractor::GroupingCriteria | |
| virtual | ~GroupingCriteria ()=default |
| Destructor. 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, SourceXtractor::PixelCoordinate::m_y, and second.
1.8.14