Salome HOME
[CEA 13302] Policy for c++ files ? using namespaces in c++ header files. boost_ptr...
[modules/hexablock.git] / src / HEXABLOCK / HexKas_functions.hxx
old mode 100755 (executable)
new mode 100644 (file)
index 42bb1f0..0004bdb
@@ -1,12 +1,12 @@
 //
 // CC++ : Representation Cascade d'un point
 //
-// Copyright (C) 2009-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2009-2019  CEA/DEN, EDF R&D
 //
 // 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
@@ -29,21 +29,21 @@ class gp_Pnt;
 
 BEGIN_NAMESPACE_HEXA
 
-int geom_create_cylcyl (double* borig, double* bnorm, double* bbase,
+int HexaExport geom_create_cylcyl (double* borig, double* bnorm, double* bbase,
                         double  bray,  double  bhaut,
                         double* sorig, double* snorm, double* sbase,
                         double  sray,  double  shaut);
-int geom_asso_cylcyl (Edge* edge);
+int HexaExport geom_asso_cylcyl (Edge* edge);
 
-bool same_coords (gp_Pnt& pa, gp_Pnt& pb, double epsil2=1e-6);
-void save_brep   (cpchar nom, string brep, int& nro);
-void clean_brep  (string& brep);
+bool HexaExport same_coords (gp_Pnt& pa, gp_Pnt& pb, double epsil2=1e-6);
+void HexaExport save_brep   (cpchar nom, std::string brep, int& nro);
+void HexaExport clean_brep  (std::string& brep);
 
-void geom_make_brep  (TopoDS_Shape& shape, string& brep);
-int  geom_brep2point (rcstring brep, double& px, double& py, double& pz);
-int  geom_brep2shape (rcstring brep, TopoDS_Shape& shape);
+void HexaExport geom_make_brep  (TopoDS_Shape& shape, std::string& brep);
+int  HexaExport geom_brep2point (rcstring brep, double& px, double& py, double& pz);
+int  HexaExport geom_brep2shape (rcstring brep, TopoDS_Shape& shape);
 
-TopoDS_Shape geom_brep2shape (rcstring brep);
+TopoDS_Shape HexaExport geom_brep2shape (rcstring brep);
 
 END_NAMESPACE_HEXA
 #endif