Skip to content
GitLab
Menu
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
55e766bd
Commit
55e766bd
authored
May 19, 2009
by
graham
Committed by
andy
May 19, 2009
Browse files
Fix: edge lookup from edgeLabels_ by index rather than just from edges
parent
a624d515
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/meshTools/indexedOctree/treeDataEdge.C
View file @
55e766bd
...
...
@@ -134,7 +134,7 @@ void Foam::treeDataEdge::findNearest
{
label
index
=
indices
[
i
];
const
edge
&
e
=
edges_
[
index
];
const
edge
&
e
=
edges_
[
edgeLabels_
[
index
]
]
;
pointHit
nearHit
=
e
.
line
(
points_
).
nearestDist
(
sample
);
...
...
@@ -170,7 +170,7 @@ void Foam::treeDataEdge::findNearest
{
label
index
=
indices
[
i
];
const
edge
&
e
=
edges_
[
index
];
const
edge
&
e
=
edges_
[
edgeLabels_
[
index
]
]
;
// Note: could do bb test ? Worthwhile?
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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