(#584) Linked Views: Use Range filter mapping only when ecl bbox is inside geom bbox

Set range and propfilter linking default off
This commit is contained in:
Jacob Støren
2015-10-24 11:56:15 +02:00
parent 0405584bb6
commit 658849eefc
3 changed files with 43 additions and 5 deletions

View File

@@ -477,3 +477,17 @@ void RigMainGrid::findIntersectingCells(const cvf::BoundingBox& inputBB, std::ve
m_cellSearchTree->findIntersections(inputBB, cellIndices);
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
cvf::BoundingBox RigMainGrid::boundingBox() const
{
if (m_boundingBox.isValid()) return m_boundingBox;
for (size_t i = 0; i < m_nodes.size(); ++i)
{
m_boundingBox.add(m_nodes[i]);
}
return m_boundingBox;
}