mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: findBox needed treeBoundBox, not boundBox
This commit is contained in:
@ -2433,7 +2433,7 @@ Foam::pointIndexHit Foam::indexedOctree<Type>::findLineAny
|
|||||||
template <class Type>
|
template <class Type>
|
||||||
Foam::labelList Foam::indexedOctree<Type>::findBox
|
Foam::labelList Foam::indexedOctree<Type>::findBox
|
||||||
(
|
(
|
||||||
const boundBox& searchBox
|
const treeBoundBox& searchBox
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
// Storage for labels of shapes inside bb. Size estimate.
|
// 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
|
//- Find (in no particular order) indices of all shapes inside or
|
||||||
// overlapping bounding box (i.e. all shapes not outside box)
|
// 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
|
//- Find deepest node (as parent+octant) containing point. Starts
|
||||||
// off from starting index in nodes_ (use 0 to start from top)
|
// off from starting index in nodes_ (use 0 to start from top)
|
||||||
|
|||||||
Reference in New Issue
Block a user