mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 01:58:35 +05:00
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Make const some requiring methods
This commit is contained in:
parent
7b1bae1651
commit
c0b03d98ac
@ -1187,7 +1187,7 @@ void SMESH_Mesh::ExportSTL(const char *file, const bool isascii) throw(SALOME_Ex
|
||||
*/
|
||||
//================================================================================
|
||||
|
||||
int SMESH_Mesh::NbNodes() throw(SALOME_Exception)
|
||||
int SMESH_Mesh::NbNodes() const throw(SALOME_Exception)
|
||||
{
|
||||
Unexpect aCatch(SalomeException);
|
||||
return _myMeshDS->NbNodes();
|
||||
@ -1199,7 +1199,7 @@ int SMESH_Mesh::NbNodes() throw(SALOME_Exception)
|
||||
*/
|
||||
//================================================================================
|
||||
|
||||
int SMESH_Mesh::Nb0DElements() throw(SALOME_Exception)
|
||||
int SMESH_Mesh::Nb0DElements() const throw(SALOME_Exception)
|
||||
{
|
||||
Unexpect aCatch(SalomeException);
|
||||
return _myMeshDS->GetMeshInfo().Nb0DElements();
|
||||
@ -1211,7 +1211,7 @@ int SMESH_Mesh::Nb0DElements() throw(SALOME_Exception)
|
||||
*/
|
||||
//================================================================================
|
||||
|
||||
int SMESH_Mesh::NbEdges(SMDSAbs_ElementOrder order) throw(SALOME_Exception)
|
||||
int SMESH_Mesh::NbEdges(SMDSAbs_ElementOrder order) const throw(SALOME_Exception)
|
||||
{
|
||||
Unexpect aCatch(SalomeException);
|
||||
return _myMeshDS->GetMeshInfo().NbEdges(order);
|
||||
@ -1223,7 +1223,7 @@ int SMESH_Mesh::NbEdges(SMDSAbs_ElementOrder order) throw(SALOME_Exception)
|
||||
*/
|
||||
//================================================================================
|
||||
|
||||
int SMESH_Mesh::NbFaces(SMDSAbs_ElementOrder order) throw(SALOME_Exception)
|
||||
int SMESH_Mesh::NbFaces(SMDSAbs_ElementOrder order) const throw(SALOME_Exception)
|
||||
{
|
||||
Unexpect aCatch(SalomeException);
|
||||
return _myMeshDS->GetMeshInfo().NbFaces(order);
|
||||
@ -1235,7 +1235,7 @@ int SMESH_Mesh::NbFaces(SMDSAbs_ElementOrder order) throw(SALOME_Exception)
|
||||
*/
|
||||
//================================================================================
|
||||
|
||||
int SMESH_Mesh::NbTriangles(SMDSAbs_ElementOrder order) throw(SALOME_Exception)
|
||||
int SMESH_Mesh::NbTriangles(SMDSAbs_ElementOrder order) const throw(SALOME_Exception)
|
||||
{
|
||||
Unexpect aCatch(SalomeException);
|
||||
return _myMeshDS->GetMeshInfo().NbTriangles(order);
|
||||
@ -1247,7 +1247,7 @@ int SMESH_Mesh::NbTriangles(SMDSAbs_ElementOrder order) throw(SALOME_Exception)
|
||||
*/
|
||||
//================================================================================
|
||||
|
||||
int SMESH_Mesh::NbQuadrangles(SMDSAbs_ElementOrder order) throw(SALOME_Exception)
|
||||
int SMESH_Mesh::NbQuadrangles(SMDSAbs_ElementOrder order) const throw(SALOME_Exception)
|
||||
{
|
||||
Unexpect aCatch(SalomeException);
|
||||
return _myMeshDS->GetMeshInfo().NbQuadrangles(order);
|
||||
@ -1259,7 +1259,7 @@ int SMESH_Mesh::NbQuadrangles(SMDSAbs_ElementOrder order) throw(SALOME_Exception
|
||||
*/
|
||||
//================================================================================
|
||||
|
||||
int SMESH_Mesh::NbPolygons() throw(SALOME_Exception)
|
||||
int SMESH_Mesh::NbPolygons() const throw(SALOME_Exception)
|
||||
{
|
||||
Unexpect aCatch(SalomeException);
|
||||
return _myMeshDS->GetMeshInfo().NbPolygons();
|
||||
@ -1271,7 +1271,7 @@ int SMESH_Mesh::NbPolygons() throw(SALOME_Exception)
|
||||
*/
|
||||
//================================================================================
|
||||
|
||||
int SMESH_Mesh::NbVolumes(SMDSAbs_ElementOrder order) throw(SALOME_Exception)
|
||||
int SMESH_Mesh::NbVolumes(SMDSAbs_ElementOrder order) const throw(SALOME_Exception)
|
||||
{
|
||||
Unexpect aCatch(SalomeException);
|
||||
return _myMeshDS->GetMeshInfo().NbVolumes(order);
|
||||
@ -1283,7 +1283,7 @@ int SMESH_Mesh::NbVolumes(SMDSAbs_ElementOrder order) throw(SALOME_Exception)
|
||||
*/
|
||||
//================================================================================
|
||||
|
||||
int SMESH_Mesh::NbTetras(SMDSAbs_ElementOrder order) throw(SALOME_Exception)
|
||||
int SMESH_Mesh::NbTetras(SMDSAbs_ElementOrder order) const throw(SALOME_Exception)
|
||||
{
|
||||
Unexpect aCatch(SalomeException);
|
||||
return _myMeshDS->GetMeshInfo().NbTetras(order);
|
||||
@ -1295,7 +1295,7 @@ int SMESH_Mesh::NbTetras(SMDSAbs_ElementOrder order) throw(SALOME_Exception)
|
||||
*/
|
||||
//================================================================================
|
||||
|
||||
int SMESH_Mesh::NbHexas(SMDSAbs_ElementOrder order) throw(SALOME_Exception)
|
||||
int SMESH_Mesh::NbHexas(SMDSAbs_ElementOrder order) const throw(SALOME_Exception)
|
||||
{
|
||||
Unexpect aCatch(SalomeException);
|
||||
return _myMeshDS->GetMeshInfo().NbHexas(order);
|
||||
@ -1307,7 +1307,7 @@ int SMESH_Mesh::NbHexas(SMDSAbs_ElementOrder order) throw(SALOME_Exception)
|
||||
*/
|
||||
//================================================================================
|
||||
|
||||
int SMESH_Mesh::NbPyramids(SMDSAbs_ElementOrder order) throw(SALOME_Exception)
|
||||
int SMESH_Mesh::NbPyramids(SMDSAbs_ElementOrder order) const throw(SALOME_Exception)
|
||||
{
|
||||
Unexpect aCatch(SalomeException);
|
||||
return _myMeshDS->GetMeshInfo().NbPyramids(order);
|
||||
@ -1319,7 +1319,7 @@ int SMESH_Mesh::NbPyramids(SMDSAbs_ElementOrder order) throw(SALOME_Exception)
|
||||
*/
|
||||
//================================================================================
|
||||
|
||||
int SMESH_Mesh::NbPrisms(SMDSAbs_ElementOrder order) throw(SALOME_Exception)
|
||||
int SMESH_Mesh::NbPrisms(SMDSAbs_ElementOrder order) const throw(SALOME_Exception)
|
||||
{
|
||||
Unexpect aCatch(SalomeException);
|
||||
return _myMeshDS->GetMeshInfo().NbPrisms(order);
|
||||
@ -1331,7 +1331,7 @@ int SMESH_Mesh::NbPrisms(SMDSAbs_ElementOrder order) throw(SALOME_Exception)
|
||||
*/
|
||||
//================================================================================
|
||||
|
||||
int SMESH_Mesh::NbPolyhedrons() throw(SALOME_Exception)
|
||||
int SMESH_Mesh::NbPolyhedrons() const throw(SALOME_Exception)
|
||||
{
|
||||
Unexpect aCatch(SalomeException);
|
||||
return _myMeshDS->GetMeshInfo().NbPolyhedrons();
|
||||
@ -1343,7 +1343,7 @@ int SMESH_Mesh::NbPolyhedrons() throw(SALOME_Exception)
|
||||
*/
|
||||
//================================================================================
|
||||
|
||||
int SMESH_Mesh::NbSubMesh() throw(SALOME_Exception)
|
||||
int SMESH_Mesh::NbSubMesh() const throw(SALOME_Exception)
|
||||
{
|
||||
Unexpect aCatch(SalomeException);
|
||||
return _myMeshDS->NbSubMesh();
|
||||
|
@ -226,33 +226,33 @@ public:
|
||||
void ExportUNV(const char *file) throw(SALOME_Exception);
|
||||
void ExportSTL(const char *file, const bool isascii) throw(SALOME_Exception);
|
||||
|
||||
int NbNodes() throw(SALOME_Exception);
|
||||
int NbNodes() const throw(SALOME_Exception);
|
||||
|
||||
int Nb0DElements() throw(SALOME_Exception);
|
||||
int Nb0DElements() const throw(SALOME_Exception);
|
||||
|
||||
int NbEdges(SMDSAbs_ElementOrder order = ORDER_ANY) throw(SALOME_Exception);
|
||||
int NbEdges(SMDSAbs_ElementOrder order = ORDER_ANY) const throw(SALOME_Exception);
|
||||
|
||||
int NbFaces(SMDSAbs_ElementOrder order = ORDER_ANY) throw(SALOME_Exception);
|
||||
int NbFaces(SMDSAbs_ElementOrder order = ORDER_ANY) const throw(SALOME_Exception);
|
||||
|
||||
int NbTriangles(SMDSAbs_ElementOrder order = ORDER_ANY) throw(SALOME_Exception);
|
||||
int NbTriangles(SMDSAbs_ElementOrder order = ORDER_ANY) const throw(SALOME_Exception);
|
||||
|
||||
int NbQuadrangles(SMDSAbs_ElementOrder order = ORDER_ANY) throw(SALOME_Exception);
|
||||
int NbQuadrangles(SMDSAbs_ElementOrder order = ORDER_ANY) const throw(SALOME_Exception);
|
||||
|
||||
int NbPolygons() throw(SALOME_Exception);
|
||||
int NbPolygons() const throw(SALOME_Exception);
|
||||
|
||||
int NbVolumes(SMDSAbs_ElementOrder order = ORDER_ANY) throw(SALOME_Exception);
|
||||
int NbVolumes(SMDSAbs_ElementOrder order = ORDER_ANY) const throw(SALOME_Exception);
|
||||
|
||||
int NbTetras(SMDSAbs_ElementOrder order = ORDER_ANY) throw(SALOME_Exception);
|
||||
int NbTetras(SMDSAbs_ElementOrder order = ORDER_ANY) const throw(SALOME_Exception);
|
||||
|
||||
int NbHexas(SMDSAbs_ElementOrder order = ORDER_ANY) throw(SALOME_Exception);
|
||||
int NbHexas(SMDSAbs_ElementOrder order = ORDER_ANY) const throw(SALOME_Exception);
|
||||
|
||||
int NbPyramids(SMDSAbs_ElementOrder order = ORDER_ANY) throw(SALOME_Exception);
|
||||
int NbPyramids(SMDSAbs_ElementOrder order = ORDER_ANY) const throw(SALOME_Exception);
|
||||
|
||||
int NbPrisms(SMDSAbs_ElementOrder order = ORDER_ANY) throw(SALOME_Exception);
|
||||
int NbPrisms(SMDSAbs_ElementOrder order = ORDER_ANY) const throw(SALOME_Exception);
|
||||
|
||||
int NbPolyhedrons() throw(SALOME_Exception);
|
||||
int NbPolyhedrons() const throw(SALOME_Exception);
|
||||
|
||||
int NbSubMesh() throw(SALOME_Exception);
|
||||
int NbSubMesh() const throw(SALOME_Exception);
|
||||
|
||||
int NbGroup() const { return _mapGroup.size(); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user