mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-31 14:40:32 +05:00
- return ( e && e->NbNodes() == ( e->IsQuadratic() ? 8 : 4 ));
+ return ( e && e->NbCornerNodes() == 4 );
This commit is contained in:
parent
17aeb4f3c7
commit
dd4eae00e6
@ -136,7 +136,7 @@ namespace
|
|||||||
|
|
||||||
bool isQuadrangle(const SMDS_MeshElement* e)
|
bool isQuadrangle(const SMDS_MeshElement* e)
|
||||||
{
|
{
|
||||||
return ( e && e->NbNodes() == ( e->IsQuadratic() ? 8 : 4 ));
|
return ( e && e->NbCornerNodes() == 4 );
|
||||||
}
|
}
|
||||||
|
|
||||||
//================================================================================
|
//================================================================================
|
||||||
|
Loading…
Reference in New Issue
Block a user