mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-20 11:48:35 -06:00
cvf::CellRangeFilter: Added hasIncludeRanges()
This commit is contained in:
parent
0130a01ca2
commit
ebc0475787
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user