]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0022005: Error at the end of NETGEN 3D spheres mesh while tetrahedrons have been...
authoreap <eap@opencascade.com>
Wed, 20 Feb 2013 08:46:42 +0000 (08:46 +0000)
committereap <eap@opencascade.com>
Wed, 20 Feb 2013 08:46:42 +0000 (08:46 +0000)
-  SMESH_TNodeXYZ( const SMDS_MeshElement* e)
+  SMESH_TNodeXYZ( const SMDS_MeshElement* e=0)

src/SMESHUtils/SMESH_TypeDefs.hxx

index daadb673c93f6fbb93438dfa09d1923072712c92..711335eac773811498505605366b3597242c5ac9 100644 (file)
@@ -109,7 +109,7 @@ struct SMESH_TNodeXYZ : public gp_XYZ
 {
   const SMDS_MeshNode* _node;
   double               _xyz[3];
-  SMESH_TNodeXYZ( const SMDS_MeshElement* e):gp_XYZ(0,0,0),_node(0) {
+  SMESH_TNodeXYZ( const SMDS_MeshElement* e=0):gp_XYZ(0,0,0),_node(0) {
     if (e) {
       assert( e->GetType() == SMDSAbs_Node );
       _node = static_cast<const SMDS_MeshNode*>(e);