0025334: BRepOffsetAPI_MakeOffset algorithm crashes on some customer's shape
[occt.git] / src / MAT2d / MAT2d_Mat2d.cdl
index 30a5046..2d83c6a 100644 (file)
@@ -30,7 +30,7 @@ uses
     
 is
 
-    Create
+    Create(IsOpenResult : Boolean from Standard = Standard_False)
     ---Purpose: Empty construtor.
     returns Mat2d from MAT2d;
     
@@ -40,6 +40,11 @@ is
        ---Purpose: Algoritm of computation of the bisecting locus.
     is static;
     
+    CreateMatOpen(me : in out ; aTool : in out Tool2d from MAT2d)
+       ---Purpose: Algoritm of computation of the bisecting locus for
+       --          open wire.
+    is static;
+    
     IsDone(me) returns Boolean from Standard
        ---Purpose:  Returns <TRUE> if CreateMat has succeeded. 
     is static;
@@ -59,8 +64,8 @@ is
               atool                : in out  Tool2d from MAT2d;
               aside                :         Integer          ;
               noofbisectorstoremove: in out  Integer           ;
-              bisector1            : mutable Bisector from MAT;
-              bisector2            : mutable Bisector from MAT)
+              bisector1            : Bisector from MAT;
+              bisector2            : Bisector from MAT)
     is static private;        
                               
 
@@ -94,6 +99,7 @@ is
 
 fields
 
+    myIsOpenResult        : Boolean;
     thenumberofbisectors  : Integer;
     thenumberofedges      : Integer;
     semiInfinite          : Boolean;