*/
long_array GetIDs();
};
-
+
interface SMESH_GroupBase;
interface SMESH_Group;
interface SMESH_GroupOnGeom;
long_array GetNodesId()
raises (SALOME::SALOME_Exception);
+ /*!
+ * Return type of mesh element
+ */
+ ElementType GetElementType( in long id, in boolean iselem )
+ raises (SALOME::SALOME_Exception);
+
string Dump();
};
long_array GetElementsByType( in ElementType theType )
raises (SALOME::SALOME_Exception);
+ /*!
+ * Return type of submesh element
+ */
+ ElementType GetElementType( in long id, in boolean iselem )
+ raises (SALOME::SALOME_Exception);
+
/*!
*
*/
/*!
* Get the internal Id
*/
- long GetId();
+ long GetId();
+
/*!
* Get MED subMesh
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 );
+}
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
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 );
+}
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);