mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-14 02:30:33 +05:00
SALOME_TESTS/Grids/smesh/bugs_07/H5
Use 5 < angles < 85 degrees to find out a correct orientation
This commit is contained in:
parent
bd5d71f761
commit
71bd4d3344
@ -4076,7 +4076,8 @@ 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 && 5.* M_PI/180 < angle )
|
||||
if (( maxAngle < angle ) &&
|
||||
( 5.* M_PI/180 < angle && angle < 85.* M_PI/180 ))
|
||||
{
|
||||
maxAngle = angle;
|
||||
iVertex = i;
|
||||
|
Loading…
Reference in New Issue
Block a user