]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
bos #20650: EDF 22824 - UseExisting1DElements
authoreap <eap@opencascade.com>
Tue, 2 Feb 2021 13:24:05 +0000 (16:24 +0300)
committereap <eap@opencascade.com>
Tue, 2 Feb 2021 13:24:05 +0000 (16:24 +0300)
src/StdMeshers/StdMeshers_Import_1D.cxx

index 5a9880cd8f4a62aea7dbd6ba35fa866063a5fb63..1aec701b4570ecd58a029b0fd36f99f1c46e884d 100644 (file)
@@ -253,6 +253,7 @@ namespace // INTERNAL STUFF
     _chord2  = Max( _line.     SquareDistance( curve->Value( uf + 0.25 * ( ul - uf ))),
                     Max( _line.SquareDistance( curve->Value( uf + 0.5  * ( ul - uf ))),
                          _line.SquareDistance( curve->Value( uf + 0.75 * ( ul - uf )))));
+    _chord2 *= ( 1.05 * 1.05 ); // +5%
     _chord2  = Max( tol, _chord2 );
     _chord   = Sqrt( _chord2 );