SALOME_TESTS/Grids/smesh/bugs_07/H5

Do not use angles < 5 degrees to find out a correct orientation
This commit is contained in:
eap 2014-04-17 21:05:20 +04:00
parent faaf2eee1d
commit cf9ef32c50

View File

@ -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;