From dd4eae00e6c540286d0a215dc22333af9f85946d Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 20 May 2010 10:23:56 +0000 Subject: [PATCH] - return ( e && e->NbNodes() == ( e->IsQuadratic() ? 8 : 4 )); + return ( e && e->NbCornerNodes() == 4 ); --- src/StdMeshers/StdMeshers_HexaFromSkin_3D.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } //================================================================================ -- 2.39.2