0023473: Top face of imported STEP part is missing

Fix for constraints for case of complex internal wires
Test case for this bug
This commit is contained in:
epa
2012-11-15 16:37:23 +04:00
parent d642ddf565
commit 2de84aa22f
5 changed files with 241 additions and 5 deletions
+3 -3
View File
@@ -828,9 +828,9 @@ void BRepMesh_Delaun::RemovePivotTriangles( const Standard_Integer theEdgeInfo,
{
if ( e1[i] == anOldEdge )
{
for ( Standard_Integer i = 0; i < 2; ++i )
{
Standard_Integer aTmpEdgeId = e1[(i + 1) % 3];
for ( Standard_Integer j = 0; j < 2; ++j )
{
Standard_Integer aTmpEdgeId = e1[(j + i + 1) % 3];
const BRepMesh_Edge& anEdge = GetEdge( aTmpEdgeId );
if ( anEdge.FirstNode() == thePivotNode ||
anEdge.LastNode() == thePivotNode )