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 | List of all members
SourceXtractor::OverlappingBoundariesCriteria Class Reference

Groups sources if their bounding boxes overlap. More...

#include <OverlappingBoundariesCriteria.h>

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

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...
 

Detailed Description

Groups sources if their bounding boxes overlap.

Definition at line 36 of file OverlappingBoundariesCriteria.h.

Member Function Documentation

bool SourceXtractor::OverlappingBoundariesCriteria::shouldGroup ( const SourceInterface first,
const SourceInterface second 
) const
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.

Here is the call graph for this function:


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