mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-08 10:37:28 +05:00
0022100: EDF 2413 SMESH: Take into account TRIA7
+ CORBA::Long NbBiQuadTriangles()
This commit is contained in:
parent
3a8dfa1bdb
commit
998c774c5d
@ -3088,6 +3088,15 @@ CORBA::Long SMESH_Mesh_i::NbTriangles()throw(SALOME::SALOME_Exception)
|
|||||||
return _impl->NbTriangles();
|
return _impl->NbTriangles();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CORBA::Long SMESH_Mesh_i::NbBiQuadTriangles()throw(SALOME::SALOME_Exception)
|
||||||
|
{
|
||||||
|
Unexpect aCatch(SALOME_SalomeException);
|
||||||
|
if ( _preMeshInfo )
|
||||||
|
return _preMeshInfo->NbBiQuadTriangles();
|
||||||
|
|
||||||
|
return _impl->NbBiQuadTriangles();
|
||||||
|
}
|
||||||
|
|
||||||
CORBA::Long SMESH_Mesh_i::NbQuadrangles()throw(SALOME::SALOME_Exception)
|
CORBA::Long SMESH_Mesh_i::NbQuadrangles()throw(SALOME::SALOME_Exception)
|
||||||
{
|
{
|
||||||
Unexpect aCatch(SALOME_SalomeException);
|
Unexpect aCatch(SALOME_SalomeException);
|
||||||
@ -4021,7 +4030,7 @@ CORBA::Long SMESH_Mesh_i::FindElementByNodes(const SMESH::long_array& nodes)
|
|||||||
if ( !( nn[i] = mesh->FindNode( nodes[i] )))
|
if ( !( nn[i] = mesh->FindNode( nodes[i] )))
|
||||||
return elemID;
|
return elemID;
|
||||||
|
|
||||||
const SMDS_MeshElement* elem = mesh->FindElement( nn );
|
const SMDS_MeshElement* elem = mesh->FindElement( nn, SMDSAbs_All, /*noMedium=*/false );
|
||||||
if ( !elem && ( _impl->NbEdges ( ORDER_QUADRATIC ) ||
|
if ( !elem && ( _impl->NbEdges ( ORDER_QUADRATIC ) ||
|
||||||
_impl->NbFaces ( ORDER_QUADRATIC ) ||
|
_impl->NbFaces ( ORDER_QUADRATIC ) ||
|
||||||
_impl->NbVolumes( ORDER_QUADRATIC )))
|
_impl->NbVolumes( ORDER_QUADRATIC )))
|
||||||
|
@ -294,6 +294,9 @@ public:
|
|||||||
CORBA::Long NbTrianglesOfOrder(SMESH::ElementOrder order)
|
CORBA::Long NbTrianglesOfOrder(SMESH::ElementOrder order)
|
||||||
throw (SALOME::SALOME_Exception);
|
throw (SALOME::SALOME_Exception);
|
||||||
|
|
||||||
|
CORBA::Long NbBiQuadTriangles()
|
||||||
|
throw (SALOME::SALOME_Exception);
|
||||||
|
|
||||||
CORBA::Long NbQuadrangles()
|
CORBA::Long NbQuadrangles()
|
||||||
throw (SALOME::SALOME_Exception);
|
throw (SALOME::SALOME_Exception);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user