PAL15429 Computation of the mesh, based on "014.brep" via Tetrahedron(NETGEN), is failed.

fix case of wires thouching each other
This commit is contained in:
eap 2009-02-16 14:07:22 +00:00
parent 1ae00d609a
commit 16ce557c6f

View File

@ -24,7 +24,6 @@
// Moved here from SMESH_MEFISTO_2D.cxx // Moved here from SMESH_MEFISTO_2D.cxx
// Author : Paul RASCLE, EDF // Author : Paul RASCLE, EDF
// Module : SMESH // Module : SMESH
// $Header$
// //
#include "StdMeshers_MEFISTO_2D.hxx" #include "StdMeshers_MEFISTO_2D.hxx"
@ -492,7 +491,6 @@ bool StdMeshers_MEFISTO_2D::LoadPoints(TWireVector & wires,
} }
int m = 0; int m = 0;
list< int > mOnVertex;
for ( int iW = 0; iW < wires.size(); ++iW ) for ( int iW = 0; iW < wires.size(); ++iW )
{ {
@ -507,6 +505,7 @@ bool StdMeshers_MEFISTO_2D::LoadPoints(TWireVector & wires,
return error("Internal error"); return error("Internal error");
} }
list< int > mOnVertex;
vector<UVPtStruct>::const_iterator uvPt = uvPtVec.begin(); vector<UVPtStruct>::const_iterator uvPt = uvPtVec.begin();
for ( ++uvPt; uvPt != uvPtVec.end(); ++uvPt ) for ( ++uvPt; uvPt != uvPtVec.end(); ++uvPt )
{ {