mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: use boundBox contains(), containsAny() methods
This commit is contained in:
@ -433,12 +433,9 @@ overlaps
|
||||
const pointField& points = patch_.points();
|
||||
const face& f = patch_[index];
|
||||
|
||||
forAll(f, fp)
|
||||
if (cubeBb.containsAny(points, f))
|
||||
{
|
||||
if (cubeBb.contains(points[f[fp]]))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
// 3. Difficult case: all points are outside but connecting edges might
|
||||
|
||||
Reference in New Issue
Block a user