]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
0022005: Error at the end of NETGEN 3D spheres mesh while tetrahedrons have been...
authoreap <eap@opencascade.com>
Wed, 20 Feb 2013 08:44:49 +0000 (08:44 +0000)
committereap <eap@opencascade.com>
Wed, 20 Feb 2013 08:44:49 +0000 (08:44 +0000)
  SMESH_Algo::IsReversedSubMesh() is moved to SMESH_MesherHelper

src/NETGENPlugin/NETGENPlugin_Mesher.cxx
src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx

index e3cc305e064d7bced1a377ce140ee6a36f87a46f..5ded920dc8d2ca35bdc9134dd7545299690f7994 100644 (file)
@@ -832,8 +832,8 @@ bool NETGENPlugin_Mesher::FillNgMesh(netgen::OCCGeometry&           occgeom,
         TopoDS_Shape solid = occgeom.somap( solidID1 );
         TopAbs_Orientation faceOriInSolid = helper.GetSubShapeOri( solid, geomFace );
         if ( faceOriInSolid >= 0 )
-          reverse = SMESH_Algo::IsReversedSubMesh
-            ( TopoDS::Face( geomFace.Oriented( faceOriInSolid )), helper.GetMeshDS() );
+          reverse =
+            helper.IsReversedSubMesh( TopoDS::Face( geomFace.Oriented( faceOriInSolid )));
       }
 
       // Add surface elements
index 0e5a87f5f3346c8ab16942160817b51ede7fffc2..e693206fe551fd2798511870d3e75b96ee25df21 100644 (file)
@@ -247,7 +247,7 @@ bool NETGENPlugin_NETGEN_3D::Compute(SMESH_Mesh&         aMesh,
            helper.NbAncestors(aShapeFace, aMesh, aShape.ShapeType()) > 1 )
         // IsReversedSubMesh() can work wrong on strongly curved faces,
         // so we use it as less as possible
-        isRev = SMESH_Algo::IsReversedSubMesh( TopoDS::Face(aShapeFace), meshDS );
+        isRev = helper.IsReversedSubMesh( TopoDS::Face( aShapeFace ));
 
       const SMESHDS_SubMesh * aSubMeshDSFace = proxyMesh->GetSubMesh( aShapeFace );
       if ( !aSubMeshDSFace ) continue;