cvf::CellRangeFilter: Added hasIncludeRanges()

This commit is contained in:
Jacob Støren 2015-06-05 15:35:36 +02:00
parent 0130a01ca2
commit ebc0475787
2 changed files with 11 additions and 0 deletions

View File

@ -140,6 +140,15 @@ bool CellRangeFilter::isCellExcluded(size_t i, size_t j, size_t k, bool isInSubG
return false;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
bool CellRangeFilter::hasIncludeRanges() const
{
if (m_includeRanges.size() > 0) return true;
else return false;
}

View File

@ -64,6 +64,8 @@ public:
bool isCellVisible(size_t i, size_t j, size_t k, bool isInSubGridArea) const;
bool isCellExcluded(size_t i, size_t j, size_t k, bool isInSubGridArea) const;
bool hasIncludeRanges() const;
private:
class CellRange
{