mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-12 00:29:17 +05:00
SALOME_TESTS/Grids/smesh/bugs_07/H5
Do not use angles < 5 degrees to find out a correct orientation
This commit is contained in:
parent
faaf2eee1d
commit
cf9ef32c50
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user