//
// This file is part of Open CASCADE Technology software library.
//
-// This library is free software; you can redistribute it and / or modify it
-// under the terms of the GNU Lesser General Public version 2.1 as published
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
-#include <BRepAlgo_Image.ixx>
+#include <BRepAlgo_Image.hxx>
#include <Standard_ConstructionError.hxx>
+#include <TopExp_Explorer.hxx>
+#include <TopoDS_Shape.hxx>
+#include <TopTools_DataMapIteratorOfDataMapOfShapeShape.hxx>
#include <TopTools_ListIteratorOfListOfShape.hxx>
#include <TopTools_MapOfShape.hxx>
-#include <TopTools_DataMapIteratorOfDataMapOfShapeShape.hxx>
-#include <TopExp_Explorer.hxx>
//=======================================================================
//function : BRepAlgo_Image
//purpose :
//=======================================================================
-
BRepAlgo_Image::BRepAlgo_Image()
{
}
Change = Standard_False;
TopTools_DataMapIteratorOfDataMapOfShapeShape mit(up);
for (; mit.More(); mit.Next()) {
- const TopoDS_Shape& S = mit.Key();
- if (S.ShapeType() == T && !M.Contains(S)) {
- Remove(S);
+ const TopoDS_Shape& aS = mit.Key();
+ if (aS.ShapeType() == T && !M.Contains(aS)) {
+ Remove(aS);
Change = Standard_True;
break;
}