From: eap Date: Thu, 15 Nov 2012 07:45:13 +0000 (+0000) Subject: 0021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format) X-Git-Tag: V6_6_0rc1~48 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=22f2cb0c9596d27f8079dceca3cf6f5422de95f6;hp=ec887f7ffa81d367a76de589373a50aa16710037 0021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format) Make "required groups" otional arg --- diff --git a/src/SMESH/SMESH_Mesh.hxx b/src/SMESH/SMESH_Mesh.hxx index 009f80f93..2b926f5dd 100644 --- a/src/SMESH/SMESH_Mesh.hxx +++ b/src/SMESH/SMESH_Mesh.hxx @@ -123,7 +123,7 @@ public: int CGNSToMesh(const char* theFileName, const int theMeshIndex, std::string& theMeshName); SMESH_ComputeErrorPtr GMFToMesh(const char* theFileName, - bool theMakeRequiredGroups); + bool theMakeRequiredGroups = true ); SMESH_Hypothesis::Hypothesis_Status AddHypothesis(const TopoDS_Shape & aSubShape, int anHypId) @@ -246,7 +246,7 @@ public: const SMESHDS_Mesh* mesh); void ExportGMF(const char * file, const SMESHDS_Mesh* mesh, - bool withRequiredGroups); + bool withRequiredGroups = true ); void ExportSAUV(const char *file, const char* theMeshName = NULL, bool theAutoGroups = true) throw(SALOME_Exception);