mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0025021: New option of BRepOffsetAPI_MakeOffset algorithm: open result for open wire
Test cases for issue CR25021
This commit is contained in:
@@ -73,7 +73,8 @@ is
|
||||
Compute (me : in out ;
|
||||
anExplo : in out Explorer from BRepMAT2d;
|
||||
LineIndex : Integer = 1;
|
||||
aSide : Side from MAT = MAT_Left )
|
||||
aSide : Side from MAT = MAT_Left;
|
||||
IsOpenResult : Boolean = Standard_False)
|
||||
--- Purpose : Computation of the Bisector_Locus in a set of Lines
|
||||
-- defined in <anExplo>.
|
||||
-- The bisecting locus are computed on the side <aSide>
|
||||
|
@@ -55,9 +55,10 @@ BRepMAT2d_BisectingLocus::BRepMAT2d_BisectingLocus()
|
||||
//purpose : Calcul de la carte des lieux bisecteurs sur le contour defini par
|
||||
// <anExplo>.
|
||||
//=============================================================================
|
||||
void BRepMAT2d_BisectingLocus::Compute( BRepMAT2d_Explorer& anExplo,
|
||||
const Standard_Integer IndexLine,
|
||||
const MAT_Side aSide )
|
||||
void BRepMAT2d_BisectingLocus::Compute(BRepMAT2d_Explorer& anExplo,
|
||||
const Standard_Integer IndexLine,
|
||||
const MAT_Side aSide,
|
||||
const Standard_Boolean IsOpenResult)
|
||||
{
|
||||
MAT2d_Mat2d TheMAT;
|
||||
Handle(MAT_ListOfBisector) TheRoots = new MAT_ListOfBisector();
|
||||
@@ -86,7 +87,7 @@ void BRepMAT2d_BisectingLocus::Compute( BRepMAT2d_Explorer& anExplo,
|
||||
//----------------------------------------------------------
|
||||
// Construction du circuit sur lequel est calcule la carte.
|
||||
//----------------------------------------------------------
|
||||
Handle(MAT2d_Circuit) ACircuit = new MAT2d_Circuit();
|
||||
Handle(MAT2d_Circuit) ACircuit = new MAT2d_Circuit(IsOpenResult);
|
||||
// Modified by Sergey KHROMOV - Wed Mar 6 17:43:47 2002 Begin
|
||||
// ACircuit->Perform(Figure,IndexLine,(aSide == MAT_Left));
|
||||
ACircuit->Perform(Figure,anExplo.GetIsClosed(), IndexLine,(aSide == MAT_Left));
|
||||
|
Reference in New Issue
Block a user