BUG: findBox needed treeBoundBox, not boundBox

This commit is contained in:
mattijs
2010-03-02 12:15:34 +00:00
parent bdab648191
commit fd6003d9a3
2 changed files with 2 additions and 2 deletions

View File

@ -2433,7 +2433,7 @@ Foam::pointIndexHit Foam::indexedOctree<Type>::findLineAny
template <class Type>
Foam::labelList Foam::indexedOctree<Type>::findBox
(
const boundBox& searchBox
const treeBoundBox& searchBox
) const
{
// Storage for labels of shapes inside bb. Size estimate.

View File

@ -546,7 +546,7 @@ public:
//- Find (in no particular order) indices of all shapes inside or
// overlapping bounding box (i.e. all shapes not outside box)
labelList findBox(const boundBox& bb) const;
labelList findBox(const treeBoundBox& bb) const;
//- Find deepest node (as parent+octant) containing point. Starts
// off from starting index in nodes_ (use 0 to start from top)