mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0025334: BRepOffsetAPI_MakeOffset algorithm crashes on some customer's shape
Test cases for issue CR25334
This commit is contained in:
@@ -61,7 +61,7 @@ void BRepMAT2d_BisectingLocus::Compute(BRepMAT2d_Explorer& anExplo,
|
||||
const GeomAbs_JoinType aJoinType,
|
||||
const Standard_Boolean IsOpenResult)
|
||||
{
|
||||
MAT2d_Mat2d TheMAT;
|
||||
MAT2d_Mat2d TheMAT( IsOpenResult );
|
||||
Handle(MAT_ListOfBisector) TheRoots = new MAT_ListOfBisector();
|
||||
MAT2d_SequenceOfSequenceOfGeometry Figure;
|
||||
Standard_Integer i;
|
||||
@@ -104,7 +104,10 @@ void BRepMAT2d_BisectingLocus::Compute(BRepMAT2d_Explorer& anExplo,
|
||||
// --------------------------------------------
|
||||
// Initialisation et execution de l algorithme.
|
||||
// --------------------------------------------
|
||||
TheMAT.CreateMat(theTool);
|
||||
if (IsOpenResult)
|
||||
TheMAT.CreateMatOpen(theTool);
|
||||
else
|
||||
TheMAT.CreateMat(theTool);
|
||||
|
||||
isDone = TheMAT.IsDone(); if (!isDone) return;
|
||||
|
||||
|
Reference in New Issue
Block a user