Salome HOME
Ignore Field Step object in inspection panel
[modules/shaper.git] / src / Selector / Selector_NExplode.cpp
index 98b3dd42e517373f9e52a1778686ea104d917ddc..6e252b82eafea0d0aab21eea3ec3f424662f7f2e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2019  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 //
 // You should have received a copy of the GNU Lesser General Public
 // License along with this library; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/ or
-// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
 #include "Selector_NExplode.h"
@@ -107,6 +106,8 @@ bool CompareShapes::operator() (const TopoDS_Shape& theShape1,
     else if (Abs(dLength) < tol && theShape1.ShapeType() <= TopAbs_FACE) {
       // equal values possible on shapes such as two halves of a sphere and
       // a membrane inside the sphere
+// LCOV_EXCL_START
+      // this part of code is taken from GEOM module, but can not reproduce in SHAPER
       Bnd_Box box1,box2;
       BRepBndLib::Add(theShape1, box1);
       if (!box1.IsVoid()) {
@@ -126,7 +127,8 @@ bool CompareShapes::operator() (const TopoDS_Shape& theShape1,
           }
         }
       }
-    } else // compare adresses if shapes are geometrically equal
+// LCOV_EXCL_STOP
+    } else // compare addresses if shapes are geometrically equal
       return theShape1.TShape().get() > theShape2.TShape().get();
   }