Salome HOME
Remove redundant code
[modules/geom.git] / src / OCC2VTK / GEOM_FaceSource.h
index 03163eff6a9a0a3bcc2261d539cb2be359a46148..4f1c4732bb26b1e7e6ee4c335e215dad6ef7100c 100755 (executable)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 
 #include <gp_Pnt.hxx>
 #include <TopoDS_Face.hxx> 
-#include <NCollection_Set.hxx> 
+#include <TopTools_ShapeMapHasher.hxx>
+#include <NCollection_Map.hxx> 
  
-typedef NCollection_Set<TopoDS_Face> TFaceSet; 
+typedef NCollection_Map<TopoDS_Face, TopTools_ShapeMapHasher> TFaceSet; 
  
 #include <vtkPoints.h> 
 #include <vtkPolyDataAlgorithm.h>