Refactor: improve interface for finding intersecting cells.

This commit is contained in:
Kristian Bendiksen committed 2024-01-03 13:00:09 +01:00
1 parent ffa117e736
commit 544e6974e7
29 files changed
+75 -105

No files matched your search

@@ -451,9 +451,7 @@ RimGridView* RimGeoMechContourMapProjection::baseView() const
//--------------------------------------------------------------------------------------------------
std::vector<size_t> RimGeoMechContourMapProjection::findIntersectingCells( const cvf::BoundingBox& bbox ) const
{
std::vector<size_t> allCellIndices;
m_femPart->findIntersectingElementsWithExistingSearchTree( bbox, &allCellIndices );
return allCellIndices;
return m_femPart->findIntersectingElementsWithExistingSearchTree( bbox );
}
//--------------------------------------------------------------------------------------------------