GetElementType method added

This commit is contained in:
sln 2005-08-23 08:38:33 +00:00
parent ebc64f68bf
commit 1bf6ddbe2f
4 changed files with 28 additions and 0 deletions

View File

@ -1593,3 +1593,14 @@ SMESH::long_array* SMESH_Mesh_i::GetNodesId()
return aResult._retn();
}
//=============================================================================
/*!
*
*/
//=============================================================================
SMESH::ElementType SMESH_Mesh_i::GetElementType( const CORBA::Long id, const bool iselem )
throw (SALOME::SALOME_Exception)
{
return ( SMESH::ElementType )_impl->GetElementType( id, iselem );
}

View File

@ -216,6 +216,9 @@ public:
SMESH::long_array* GetNodesId()
throw (SALOME::SALOME_Exception);
SMESH::ElementType GetElementType( const CORBA::Long id, const bool iselem )
throw (SALOME::SALOME_Exception);
char* Dump();
// Internal methods not available through CORBA

View File

@ -474,3 +474,14 @@ SMESH::long_array* SMESH_subMesh_i::GetIDs()
SMESH::long_array_var aResult = GetElementsId();
return aResult._retn();
}
//=============================================================================
/*!
*
*/
//=============================================================================
SMESH::ElementType SMESH_subMesh_i::GetElementType( const CORBA::Long id, const bool iselem )
throw (SALOME::SALOME_Exception)
{
return GetFather()->GetElementType( id, iselem );
}

View File

@ -64,6 +64,9 @@ public:
SMESH::long_array* GetElementsByType( SMESH::ElementType theElemType )
throw (SALOME::SALOME_Exception);
SMESH::ElementType GetElementType( const CORBA::Long id, const bool iselem )
throw (SALOME::SALOME_Exception);
SMESH::long_array* GetNodesId()
throw (SALOME::SALOME_Exception);