- return ( e && e->NbNodes() == ( e->IsQuadratic() ? 8 : 4 ));

+    return ( e && e->NbCornerNodes() == 4 );
This commit is contained in:
eap 2010-05-20 10:24:39 +00:00
parent 94e6206a25
commit 6297559afa

View File

@ -136,7 +136,7 @@ namespace
bool isQuadrangle(const SMDS_MeshElement* e)
{
return ( e && e->NbNodes() == ( e->IsQuadratic() ? 8 : 4 ));
return ( e && e->NbCornerNodes() == 4 );
}
//================================================================================