]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0022124: [CEA 763] Projection 1D does not work with Netgen 1D2D
authoreap <eap@opencascade.com>
Tue, 26 Feb 2013 10:42:13 +0000 (10:42 +0000)
committereap <eap@opencascade.com>
Tue, 26 Feb 2013 10:42:13 +0000 (10:42 +0000)
-typedef StdMeshers_ProjectionUtils TAssocTool;
+namespace TAssocTool = StdMeshers_ProjectionUtils;

src/StdMeshers/StdMeshers_Prism_3D.cxx
src/StdMeshers/StdMeshers_RadialPrism_3D.cxx

index 17c67d6e12cf89b5339ac04199bc34c7e4887ccc..eae0a3138d840bb2ad7f64f850a294d59a0231e3 100644 (file)
@@ -69,8 +69,9 @@ using namespace std;
 // cout << msg << " ("<< p.X() << "; " <<p.Y() << "; " <<p.Z() << ") " <<endl;\
 // }
 
-typedef StdMeshers_ProjectionUtils TAssocTool;
-typedef SMESH_Comment              TCom;
+namespace TAssocTool = StdMeshers_ProjectionUtils;
+
+typedef SMESH_Comment TCom;
 
 enum { ID_BOT_FACE = SMESH_Block::ID_Fxy0,
        ID_TOP_FACE = SMESH_Block::ID_Fxy1,
index ec34a041c16fa3710287259ebe06a6f5d7f979e2..143f58e7a4a41d28012dfd6a208cd5b7f1f8789c 100644 (file)
@@ -67,7 +67,7 @@ using namespace std;
 #define RETURN_BAD_RESULT(msg) { MESSAGE(")-: Error: " << msg); return false; }
 #define gpXYZ(n) gp_XYZ(n->X(),n->Y(),n->Z())
 
-typedef StdMeshers_ProjectionUtils TAssocTool;
+namespace TAssocTool = StdMeshers_ProjectionUtils;
 
 //=======================================================================
 //function : StdMeshers_RadialPrism_3D