correct orientation is assured by StdMeshers_FaceSide, no need to care more about it

This commit is contained in:
eap 2013-05-30 16:26:56 +00:00
parent ddab65ce00
commit 45442a99f6

View 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 )
{