Commit fd6003d9 authored by mattijs's avatar mattijs
Browse files

BUG: findBox needed treeBoundBox, not boundBox

parent bdab6481
......@@ -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.
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment