mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
boundbox intersect renaming
This commit is contained in:
@ -284,13 +284,13 @@ bool Foam::treeDataTriSurface::overlaps
|
||||
triBb.max() = max(triBb.max(), p2);
|
||||
|
||||
//- For testing: robust one
|
||||
//return cubeBb.intersects(triBb);
|
||||
//return cubeBb.overlaps(triBb);
|
||||
|
||||
//- Exact test of triangle intersecting bb
|
||||
|
||||
// Quick rejection. If whole bounding box of tri is outside cubeBb then
|
||||
// there will be no intersection.
|
||||
if (!cubeBb.intersects(triBb))
|
||||
if (!cubeBb.overlaps(triBb))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user