Salome HOME
SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
authoreap <eap@opencascade.com>
Fri, 23 Aug 2013 16:27:29 +0000 (16:27 +0000)
committereap <eap@opencascade.com>
Fri, 23 Aug 2013 16:27:29 +0000 (16:27 +0000)
make smoothAnalyticEdge() work for a circle EDGE in 3D case

src/StdMeshers/StdMeshers_ViscousLayers.cxx

index 7c9588671f657f7ccd4e9a03b2d3e25387e720eb..67c79fef737d2928a6b25a49458d7c07dbdbf77e 100644 (file)
@@ -2533,6 +2533,10 @@ bool _ViscousBuilder::smoothAnalyticEdge( _SolidData&           data,
 
     if ( F.IsNull() ) // 3D
     {
+      if ( data._edges[iFrom]->_2neibors->_nodes[0] ==
+           data._edges[iTo-1]->_2neibors->_nodes[1] )
+        return true; // closed EDGE - nothing to do
+
       return false; // TODO ???
     }
     else // 2D