X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH%2FSMESH_Mesh.hxx;h=11d435eede732c9938aa0733aad08e82f09da599;hp=dbe14fed8203f849ea94426941ed3f5a530a8d98;hb=09bc0414c91ebabb67c7fe200549044a1854e199;hpb=6df8817c1a9827149025cc942249d7083f504d3d diff --git a/src/SMESH/SMESH_Mesh.hxx b/src/SMESH/SMESH_Mesh.hxx index dbe14fed8..11d435eed 100644 --- a/src/SMESH/SMESH_Mesh.hxx +++ b/src/SMESH/SMESH_Mesh.hxx @@ -251,13 +251,14 @@ class SMESH_EXPORT SMESH_Mesh */ bool HasDuplicatedGroupNamesMED(); - void ExportMED(const char * theFile, - const char* theMeshName = NULL, - bool theAutoGroups = true, - int TheMinor = -1, + void ExportMED(const char * theFile, + const char* theMeshName = NULL, + bool theAutoGroups = true, + int theVersion = -1, const SMESHDS_Mesh* theMeshPart = 0, bool theAutoDimension = false, bool theAddODOnVertices = false, + double theZTolerance = -1., bool theAllElemsToGroup = false) throw(SALOME_Exception); @@ -314,9 +315,9 @@ class SMESH_EXPORT SMESH_Mesh SMESH_Group* AddGroup (const SMDSAbs_ElementType theType, const char* theName, - int& theId, - const TopoDS_Shape& theShape=TopoDS_Shape(), - const SMESH_PredicatePtr& thePredicate=SMESH_PredicatePtr()); + const int theId = -1, + const TopoDS_Shape& theShape = TopoDS_Shape(), + const SMESH_PredicatePtr& thePredicate = SMESH_PredicatePtr()); SMESH_Group* AddGroup (SMESHDS_GroupBase* groupDS) throw(SALOME_Exception); @@ -325,7 +326,7 @@ class SMESH_EXPORT SMESH_Mesh std::list GetGroupIds() const; - SMESH_Group* GetGroup (const int theGroupID); + SMESH_Group* GetGroup (const int theGroupID) const; bool RemoveGroup (const int theGroupID);