From: eap Date: Thu, 20 May 2010 10:23:56 +0000 (+0000) Subject: - return ( e && e->NbNodes() == ( e->IsQuadratic() ? 8 : 4 )); X-Git-Tag: translate_resources_09Jul10~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=dd4eae00e6c540286d0a215dc22333af9f85946d;p=modules%2Fsmesh.git - return ( e && e->NbNodes() == ( e->IsQuadratic() ? 8 : 4 )); + return ( e && e->NbCornerNodes() == 4 ); --- diff --git a/src/StdMeshers/StdMeshers_HexaFromSkin_3D.cxx b/src/StdMeshers/StdMeshers_HexaFromSkin_3D.cxx index d80426330..6e8448e0a 100644 --- a/src/StdMeshers/StdMeshers_HexaFromSkin_3D.cxx +++ b/src/StdMeshers/StdMeshers_HexaFromSkin_3D.cxx @@ -136,7 +136,7 @@ namespace bool isQuadrangle(const SMDS_MeshElement* e) { - return ( e && e->NbNodes() == ( e->IsQuadratic() ? 8 : 4 )); + return ( e && e->NbCornerNodes() == 4 ); } //================================================================================