0024428: Implementation of LGPL license
[occt.git] / src / BRepFill / BRepFill_ApproxSeewing.cdl
1 -- Created on: 1995-09-21
2 -- Created by: Bruno DUMORTIER
3 -- Copyright (c) 1995-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
5 --
6 -- This file is part of Open CASCADE Technology software library.
7 --
8 -- This library is free software; you can redistribute it and / or modify it
9 -- under the terms of the GNU Lesser General Public version 2.1 as published
10 -- by the Free Software Foundation, with special exception defined in the file
11 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 -- distribution for complete text of the license and disclaimer of any warranty.
13 --
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
16
17 private class ApproxSeewing from BRepFill 
18
19         ---Purpose: Evaluate the 3dCurve  and the PCurves described in
20         --          a MultiLine from BRepFill.  The parametrization of
21         --          those curves is  not  imposed by  the Bissectrice.
22         --          The  parametrization  is given  approximatively by
23         --          the abscissa of the curve3d. 
24
25 uses
26
27     MultiLine from BRepFill,
28     Curve from Geom,
29     Curve from Geom2d
30     
31 raises
32
33     NotDone from StdFail
34     
35 is
36     Create returns ApproxSeewing from BRepFill;
37     
38     Create( ML : MultiLine from BRepFill) 
39     returns ApproxSeewing from BRepFill;
40     
41     Perform(me : in out;
42             ML : MultiLine from BRepFill)
43     is static;
44     
45     IsDone(me) 
46     returns Boolean from Standard
47     is static;
48     
49     Curve(me) 
50         ---Purpose: returns the approximation of the 3d Curve
51         ---C++: return const &
52     returns Curve from Geom
53     raises
54         NotDone from StdFail
55     is static;
56     
57     CurveOnF1(me) 
58         ---Purpose: returns the  approximation  of the  PCurve  on the
59         --          first face of the MultiLine
60         ---C++: return const &
61     returns Curve from Geom2d
62     raises
63         NotDone from StdFail
64     is static;
65     
66     CurveOnF2(me) 
67         ---Purpose: returns the  approximation  of the  PCurve  on the
68         --          first face of the MultiLine
69         ---C++: return const &
70     returns Curve from Geom2d
71     raises
72         NotDone from StdFail
73     is static;
74     
75 fields
76     myML      : MultiLine from BRepFill;
77     myIsDone  : Boolean   from Standard;
78     myCurve   : Curve     from Geom;
79     myPCurve1 : Curve     from Geom2d;
80     myPCurve2 : Curve     from Geom2d;
81
82 end ApproxSeewing;