]> SALOME platform Git repositories - modules/smesh.git/commit
Salome HOME
0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
authoreap <eap@opencascade.com>
Tue, 2 Nov 2010 14:11:10 +0000 (14:11 +0000)
committereap <eap@opencascade.com>
Tue, 2 Nov 2010 14:11:10 +0000 (14:11 +0000)
commit7923b41e356c470c4d3f0b510a4d8815a1256767
tree936488bb7f7f490d3e77356bf64fb91e8d17af77
parent56fb0953d7061ef534cc9e1f65a1ec0bd2b49a10
0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
   Use maximal tolerance of face when checking node positions

+  static double MaxTolerance( const TopoDS_Shape& shape );

-      uvOK = CheckNodeUV( F, n, uv.ChangeCoord(), 2*BRep_Tool::Tolerance( F ));
+      uvOK = CheckNodeUV( F, n, uv.ChangeCoord(), 10*MaxTolerance( F ));

-      uvOK = CheckNodeUV( F, n, uv.ChangeCoord(), 2*BRep_Tool::Tolerance( E ),/*force=*/ !validU );
+      uvOK = CheckNodeUV( F, n, uv.ChangeCoord(), 10*MaxTolerance( F ),/*force=*/ !validU );
src/SMESH/SMESH_MesherHelper.cxx
src/SMESH/SMESH_MesherHelper.hxx