X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FGEOMAlgo%2FGEOMAlgo_Extractor.cxx;h=ad7c4eaa9ddcc6bd753de4f82f1295dbb490d36a;hb=ec3ebbe8917cb07300e590ba913edd730d7760d0;hp=1208e0a98dc0c33c78ed9ca90c5f9cbdc345a71d;hpb=bd2042b4d19d69deaf182edda40bbff83e53490a;p=modules%2Fgeom.git diff --git a/src/GEOMAlgo/GEOMAlgo_Extractor.cxx b/src/GEOMAlgo/GEOMAlgo_Extractor.cxx index 1208e0a98..ad7c4eaa9 100644 --- a/src/GEOMAlgo/GEOMAlgo_Extractor.cxx +++ b/src/GEOMAlgo/GEOMAlgo_Extractor.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -546,15 +546,15 @@ void GEOMAlgo_Extractor::processFOrSo(const TopoDS_Shape &theFOrSo) TopTools_ListOfShape aClosedSubShapes; TopTools_ListOfShape aNewShapes; TopoDS_Shape anOuterSubShape; - TopAbs_ShapeEnum aShapeType; + //TopAbs_ShapeEnum aShapeType; TopAbs_ShapeEnum aSubShapeType; if (theFOrSo.ShapeType() == TopAbs_FACE) { - aShapeType = TopAbs_FACE; + //aShapeType = TopAbs_FACE; aSubShapeType = TopAbs_WIRE; anOuterSubShape = BRepTools::OuterWire(TopoDS::Face(theFOrSo)); } else { - aShapeType = TopAbs_SOLID; + //aShapeType = TopAbs_SOLID; aSubShapeType = TopAbs_SHELL; anOuterSubShape = BRepClass3d::OuterShell(TopoDS::Solid(theFOrSo)); } @@ -675,14 +675,14 @@ void GEOMAlgo_Extractor::processShOrCS(const TopoDS_Shape &theShOrCS) TopTools_ListOfShape aNewSubShapes; TopTools_ListOfShape aNewOtherShapes; TopAbs_ShapeEnum aSubShapeType; - TopAbs_ShapeEnum aSubSubShapeType; + //TopAbs_ShapeEnum aSubSubShapeType; if (theShOrCS.ShapeType() == TopAbs_SHELL) { aSubShapeType = TopAbs_FACE; - aSubSubShapeType = TopAbs_EDGE; + //aSubSubShapeType = TopAbs_EDGE; } else { // comp-solid aSubShapeType = TopAbs_SOLID; - aSubSubShapeType = TopAbs_FACE; + //aSubSubShapeType = TopAbs_FACE; } for (; anIter.More(); anIter.Next()) { @@ -1098,7 +1098,7 @@ void GEOMAlgo_Extractor::makeHistory(const TopoDS_Shape &theShape, getModified(theShape, aListModif, theShape.ShapeType()); Standard_Boolean isModif = !aListModif.IsEmpty(); - const TopAbs_ShapeEnum aType = theShape.ShapeType(); + //const TopAbs_ShapeEnum aType = theShape.ShapeType(); if (isModif) { // Add the new shapes.