From d0fa5c0e056bbadf1edfbe005f57af63b53e4833 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 18 Apr 2007 10:40:06 +0000 Subject: [PATCH] PAL13615 (meshing of a "5 edges quadrangle") fix faces orientation in ComputeQuadPref() --- src/StdMeshers/StdMeshers_Quadrangle_2D.cxx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx b/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx index 0d4f3615e..8a1659402 100644 --- a/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx +++ b/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx @@ -896,13 +896,14 @@ bool StdMeshers_Quadrangle_2D::ComputeQuadPref (SMESH_Mesh & aMesh, const TopoDS_Face& F = TopoDS::Face(aShape); Handle(Geom_Surface) S = BRep_Tool::Surface(F); const TopoDS_Wire& W = BRepTools::OuterWire(F); - bool WisF = false; - if(W.Orientation()==TopAbs_FORWARD) - WisF = true; + bool WisF = true; +// if(W.Orientation()==TopAbs_FORWARD) +// WisF = true; //if(WisF) cout<<"W is FORWARD"<ShapeToIndex( F ); int nb = quad->side[0]->NbPoints(); -- 2.39.2