Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
fd6003d9
Commit
fd6003d9
authored
Mar 02, 2010
by
mattijs
Browse files
BUG: findBox needed treeBoundBox, not boundBox
parent
bdab6481
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/meshTools/indexedOctree/indexedOctree.C
View file @
fd6003d9
...
...
@@ -2433,7 +2433,7 @@ Foam::pointIndexHit Foam::indexedOctree<Type>::findLineAny
template
<
class
Type
>
Foam
::
labelList
Foam
::
indexedOctree
<
Type
>::
findBox
(
const
b
oundBox
&
searchBox
const
treeB
oundBox
&
searchBox
)
const
{
// Storage for labels of shapes inside bb. Size estimate.
...
...
src/meshTools/indexedOctree/indexedOctree.H
View file @
fd6003d9
...
...
@@ -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
b
oundBox
&
bb
)
const
;
labelList
findBox
(
const
treeB
oundBox
&
bb
)
const
;
//- Find deepest node (as parent+octant) containing point. Starts
// off from starting index in nodes_ (use 0 to start from top)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment