+ replace || operator in BoundBox2D with real function names

This commit is contained in:
wmayer
2015-10-14 18:45:13 +02:00
parent c29786b34e
commit 31046e127a
4 changed files with 9 additions and 9 deletions

View File

@@ -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);

View File

@@ -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);
}