1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0026407: BRepMesh_Delaun should not take into account frontier edges on first pass of algorithm

Correction of new vertices insertion: remove all triangles shot by point even if they contain frontier edges in order to prevent cases of free edge glued with frontier;
findNextPolygonLink: choose link with opposite direction to previous one as the last resort in case if the is no another option;
Enlarge bounding boxes by Precision::PConfusion() in order to not to miss possible intersections;

Test-case for issue #26407

Return NoIntersection in case of end point touch and isConsiderEndPointTouch flag is not set

Update of test-cases according to the new behavior
This commit is contained in:
oan
2015-07-20 16:25:14 +03:00
committed by bugmaster
parent fd03c080a6
commit 7131619620
9 changed files with 232 additions and 70 deletions

View File

@@ -223,10 +223,12 @@ BRepMesh_GeomTool::IntFlag BRepMesh_GeomTool::IntSegSeg(
};
// Consider case when edges have shared vertex
if ( isConsiderEndPointTouch )
if ( aPointHash[0] < 0 || aPointHash[1] < 0 )
{
if ( aPointHash[0] < 0 || aPointHash[1] < 0 )
if ( isConsiderEndPointTouch )
return BRepMesh_GeomTool::EndPointTouch;
return BRepMesh_GeomTool::NoIntersection;
}
Standard_Integer aPosHash =