From: eap Date: Fri, 28 Jan 2011 17:04:54 +0000 (+0000) Subject: 0021141: EDF 1758 SMESH: Salome doesn't stop when assigning a composite side discreti... X-Git-Tag: StartingPortingMED3~93 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=17b5f093a6dcb42d7e7be2b2d2c6a8e36c0cbfb5;p=modules%2Fsmesh.git 0021141: EDF 1758 SMESH: Salome doesn't stop when assigning a composite side discretization hypothesis Fix invalid discretization of EDGEs: in GetCurve3d(), set Closed flag to WIRE wrapped into BRepAdaptor_CompCurve --- diff --git a/src/StdMeshers/StdMeshers_FaceSide.cxx b/src/StdMeshers/StdMeshers_FaceSide.cxx index 39b8cdd72..1103a6071 100644 --- a/src/StdMeshers/StdMeshers_FaceSide.cxx +++ b/src/StdMeshers/StdMeshers_FaceSide.cxx @@ -20,7 +20,6 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -// SMESH SMESH : implementaion of SMESH idl descriptions // File : StdMeshers_FaceSide.hxx // Created : Wed Jan 31 18:41:25 2007 // Author : Edward AGAPOV (eap) @@ -40,9 +39,10 @@ #include #include -#include #include #include +#include +#include #include #include #include @@ -50,9 +50,6 @@ #include #include -#include -#include - #include #include "utilities.h" @@ -536,14 +533,15 @@ BRepAdaptor_CompCurve* StdMeshers_FaceSide::GetCurve3d() const if ( myEdge.empty() ) return 0; -// if ( myEdge.size() == 1 ) -// return new BRepAdaptor_Curve( myEdge[0] ); - TopoDS_Wire aWire; BRep_Builder aBuilder; aBuilder.MakeWire(aWire); for ( int i=0; i