From: eap Date: Thu, 17 Apr 2014 17:05:20 +0000 (+0400) Subject: SALOME_TESTS/Grids/smesh/bugs_07/H5 X-Git-Tag: V7_4_0rc1~43 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cf9ef32c5036eb3459cf97fd6197c81bd4f43694;p=modules%2Fsmesh.git SALOME_TESTS/Grids/smesh/bugs_07/H5 Do not use angles < 5 degrees to find out a correct orientation --- diff --git a/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx b/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx index c0c562e7d..3b0869eb4 100644 --- a/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx +++ b/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx @@ -4076,7 +4076,7 @@ bool StdMeshers_Quadrangle_2D::check() const TopoDS_Edge& e1 = wire->Edge( iPrev ); const TopoDS_Edge& e2 = wire->Edge( i ); double angle = myHelper->GetAngle( e1, e2, geomFace ); - if ( maxAngle < angle && angle < 0.9 * M_PI ) + if ( maxAngle < angle && 5.* M_PI/180 < angle ) { maxAngle = angle; iVertex = i;