mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-29 10:50:34 +05:00
- return ( e && e->NbNodes() == ( e->IsQuadratic() ? 8 : 4 ));
+ return ( e && e->NbCornerNodes() == 4 );
This commit is contained in:
parent
94e6206a25
commit
6297559afa
@ -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