boundbox intersect renaming

This commit is contained in:
mattijs
2008-08-28 15:50:11 +01:00
parent 4dc1c78a28
commit 212a70a17b
18 changed files with 86 additions and 46 deletions

View File

@ -412,14 +412,14 @@ bool Foam::treeDataFace::overlaps
// 1. Quick rejection: bb does not intersect face bb at all
if (cacheBb_)
{
if (!cubeBb.intersects(bbs_[index]))
if (!cubeBb.overlaps(bbs_[index]))
{
return false;
}
}
else
{
if (!cubeBb.intersects(calcBb(faceLabels_[index])))
if (!cubeBb.overlaps(calcBb(faceLabels_[index])))
{
return false;
}