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;
// --------------------------------------------
// Initialisation et execution de l algorithme.
// --------------------------------------------
- TheMAT.CreateMat(theTool);
+ if (IsOpenResult)
+ TheMAT.CreateMatOpen(theTool);
+ else
+ TheMAT.CreateMat(theTool);
isDone = TheMAT.IsDone(); if (!isDone) return;