// 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
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
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());
{
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);
}
}
***************************************************/
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);