X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH_I%2FSMESH_Mesh_i.hxx;h=a98be336eeebaddacaf0d112eab0be9821d6a348;hp=ca7e1af646faa6248de9f82c6d2272215c066860;hb=20c126bc220757c06b5576f71ed6f34ae85e3e40;hpb=1b57300c826e4cb17d9a40124991a14eabb9eee8 diff --git a/src/SMESH_I/SMESH_Mesh_i.hxx b/src/SMESH_I/SMESH_Mesh_i.hxx index ca7e1af64..a98be336e 100644 --- a/src/SMESH_I/SMESH_Mesh_i.hxx +++ b/src/SMESH_I/SMESH_Mesh_i.hxx @@ -155,36 +155,31 @@ public: SMESH::SMESH_Group_ptr CutListOfGroups( const SMESH::ListOfGroups& theMainGroups, const SMESH::ListOfGroups& theToolGroups, const char* theName ) - throw (SALOME::SALOME_Exception); + throw (SALOME::SALOME_Exception); SMESH::SMESH_Group_ptr CreateDimGroup( const SMESH::ListOfGroups& theGroups, SMESH::ElementType theElemType, const char* theName ) - throw (SALOME::SALOME_Exception); - + throw (SALOME::SALOME_Exception); - SMESH::SMESH_Group_ptr ConvertToStandalone( SMESH::SMESH_GroupBase_ptr theGroupOn ); -// SMESH::string_array* GetLog(CORBA::Boolean clearAfterGet) -// throw (SALOME::SALOME_Exception); + SMESH::SMESH_Group_ptr ConvertToStandalone( SMESH::SMESH_GroupBase_ptr theGroupOn ) + throw (SALOME::SALOME_Exception); SMESH::log_array* GetLog(CORBA::Boolean clearAfterGet) throw (SALOME::SALOME_Exception); - SMESH::SMESH_MeshEditor_ptr GetMeshEditor(); + SMESH::SMESH_MeshEditor_ptr GetMeshEditor() throw (SALOME::SALOME_Exception); - SMESH::SMESH_MeshEditor_ptr GetMeshEditPreviewer(); + SMESH::SMESH_MeshEditor_ptr GetMeshEditPreviewer() throw (SALOME::SALOME_Exception); CORBA::Boolean HasModificationsToDiscard() throw (SALOME::SALOME_Exception); - void ClearLog() - throw (SALOME::SALOME_Exception); + void ClearLog() throw (SALOME::SALOME_Exception); - CORBA::Long GetId() - throw (SALOME::SALOME_Exception); + CORBA::Long GetId() throw (SALOME::SALOME_Exception); - CORBA::Long GetStudyId() - throw (SALOME::SALOME_Exception); + CORBA::Long GetStudyId() throw (SALOME::SALOME_Exception); // --- C++ interface void SetImpl(::SMESH_Mesh* impl); @@ -464,6 +459,11 @@ public: */ SMESH::NodePosition* GetNodePosition(CORBA::Long NodeID); + /*! + * \brief Return position of an element on shape + */ + SMESH::ElementPosition GetElementPosition(CORBA::Long ElemID); + /*! * If given element is node returns IDs of shape from position * If there is not node for given ID - returns -1