+ replace || operator in BoundBox2D with real function names
This commit is contained in:
@@ -1103,7 +1103,7 @@ void MeshAlgorithm::CheckFacets(const MeshFacetGrid& rclGrid, const Base::ViewPr
|
||||
{
|
||||
clBBox3d = clGridIter.GetBoundBox();
|
||||
clViewBBox = clBBox3d.ProjectBox(pclProj);
|
||||
if (clViewBBox || clPolyBBox)
|
||||
if (clViewBBox.Intersect(clPolyBBox))
|
||||
{
|
||||
// alle Elemente in AllElements sammeln
|
||||
clGridIter.GetElements(aulAllElements);
|
||||
|
||||
@@ -71,7 +71,7 @@ void MeshTrimming::CheckFacets(const MeshFacetGrid& rclGrid, std::vector<unsigne
|
||||
for (clGridIter.Init(); clGridIter.More(); clGridIter.Next()) {
|
||||
clBBox3d = clGridIter.GetBoundBox();
|
||||
clViewBBox = clBBox3d.ProjectBox(myProj);
|
||||
if (clViewBBox || clPolyBBox) {
|
||||
if (clViewBBox.Intersect(clPolyBBox)) {
|
||||
// save all elements in AllElements
|
||||
clGridIter.GetElements(aulAllElements);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user