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:
@@ -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 =
|
||||
|
Reference in New Issue
Block a user