]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
correct orientation is assured by StdMeshers_FaceSide, no need to care more about it
authoreap <eap@opencascade.com>
Thu, 30 May 2013 16:26:56 +0000 (16:26 +0000)
committereap <eap@opencascade.com>
Thu, 30 May 2013 16:26:56 +0000 (16:26 +0000)
src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx

index 08b09509c371f86997f576abb946e9883054a7bf..0aac90be526bb663edb3d7b57310c8d6c5447cdc 100644 (file)
@@ -194,7 +194,7 @@ bool NETGENPlugin_NETGEN_2D_ONLY::Compute(SMESH_Mesh&         aMesh,
   const bool ignoreMediumNodes = _quadraticMesh;
   
   // build viscous layers if required
-  const TopoDS_Face F = TopoDS::Face( aShape.Oriented( TopAbs_FORWARD ));
+  const TopoDS_Face F = TopoDS::Face( aShape/*.Oriented( TopAbs_FORWARD )*/);
   SMESH_ProxyMesh::Ptr proxyMesh = StdMeshers_ViscousLayers2D::Compute( aMesh, F );
   if ( !proxyMesh )
     return false;
@@ -335,7 +335,7 @@ bool NETGENPlugin_NETGEN_2D_ONLY::Compute(SMESH_Mesh&         aMesh,
   }
 
   // create faces
-  bool reverse = ( aShape.Orientation() == TopAbs_REVERSED );
+  const bool reverse = false; //( aShape.Orientation() == TopAbs_REVERSED );
   int i,j;
   for ( i = 1; i <= nbFaces ; ++i )
   {