mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-20 23:59:42 +05:00
0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+ int NbBalls() const throw(SALOME_Exception);
This commit is contained in:
parent
9f74998b92
commit
baade10114
@ -20,7 +20,6 @@
|
||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||
//
|
||||
|
||||
// SMESH SMESH : implementaion of SMESH idl descriptions
|
||||
// File : SMESH_Mesh.cxx
|
||||
// Author : Paul RASCLE, EDF
|
||||
// Module : SMESH
|
||||
@ -1584,6 +1583,18 @@ int SMESH_Mesh::NbPolyhedrons() const throw(SALOME_Exception)
|
||||
return _myMeshDS->GetMeshInfo().NbPolyhedrons();
|
||||
}
|
||||
|
||||
//================================================================================
|
||||
/*!
|
||||
* \brief Return number of ball elements in the mesh
|
||||
*/
|
||||
//================================================================================
|
||||
|
||||
int SMESH_Mesh::NbBalls() const throw(SALOME_Exception)
|
||||
{
|
||||
Unexpect aCatch(SalomeException);
|
||||
return _myMeshDS->GetMeshInfo().NbBalls();
|
||||
}
|
||||
|
||||
//================================================================================
|
||||
/*!
|
||||
* \brief Return number of submeshes in the mesh
|
||||
|
@ -20,7 +20,6 @@
|
||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||
//
|
||||
|
||||
// SMESH SMESH : implementaion of SMESH idl descriptions
|
||||
// File : SMESH_Mesh.hxx
|
||||
// Author : Paul RASCLE, EDF
|
||||
// Module : SMESH
|
||||
@ -277,6 +276,8 @@ public:
|
||||
|
||||
int NbPolyhedrons() const throw(SALOME_Exception);
|
||||
|
||||
int NbBalls() const throw(SALOME_Exception);
|
||||
|
||||
int NbSubMesh() const throw(SALOME_Exception);
|
||||
|
||||
int NbGroup() const { return _mapGroup.size(); }
|
||||
|
Loading…
Reference in New Issue
Block a user