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:04:36 +00:00
parent 8e73ed8d00
commit a5388ae4cd

View File

@ -492,7 +492,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 +506,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 )
{ {