Salome HOME
Updated copyright comment
[modules/hexablock.git] / src / HEXABLOCK / HexCloner.cxx
old mode 100755 (executable)
new mode 100644 (file)
index 3d5473e..7d211f1
@@ -1,12 +1,12 @@
 
 // C++ : Copiteur d'hexaedres
 
-// Copyright (C) 2009-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2009-2024  CEA, EDF
 //
 // 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
@@ -34,8 +34,7 @@
 
 BEGIN_NAMESPACE_HEXA
 
-void transfo_brep (string& brep, Matrix* matrice, string& trep);
-void geom_dump_asso (Edge* edge);
+void transfo_brep (std::string& brep, Matrix* matrice, std::string& trep);
 static bool db = false;
 
 // ============================================================= Constructeur
@@ -99,8 +98,8 @@ Edge* Cloner::clonerEdge (Edge* orig)
    for (int nro=0 ; nro < nbass ; nro++)
        {
        Shape* shape = tab_asso [nro];
-       string brep  = shape->getBrep();
-       string trep;
+       std::string brep  = shape->getBrep();
+       std::string trep;
        transfo_brep (brep, matrice, trep);
        Shape* tshape = new Shape (trep);
        tshape->setBounds (shape->getStart(), shape->getEnd());
@@ -109,8 +108,8 @@ Edge* Cloner::clonerEdge (Edge* orig)
           {
           printf ( " --- Cloner::Asso (%s) -> asso (%s)\n", orig ->getName (),
                                                             copie->getName ());
-          geom_dump_asso (orig );
-          geom_dump_asso (copie);
+          // geom_dump_asso (orig );
+          // geom_dump_asso (copie);
           }
        }
 ***************************************************/
@@ -147,8 +146,8 @@ Quad* Cloner::clonerQuad (Quad* orig)
    for (int nro=0 ; nro < nbass ; nro++)
        {
        Shape* shape = tab_asso [nro];
-       string brep  = shape->getBrep();
-       string trep;
+       std::string brep  = shape->getBrep();
+       std::string trep;
        transfo_brep (brep, matrice, trep);
        Shape* tshape = new Shape (trep);
        copie ->addAssociation (tshape);