Integration of OCCT 6.5.0 from SVN
[occt.git] / src / BRepFill / BRepFill_MultiLine.cdl
1 -- File:        BRepFill_MultiLine.cdl
2 -- Created:     Mon Nov 14 15:01:03 1994
3 -- Author:      Bruno DUMORTIER
4 --              <dub@fuegox>
5 ---Copyright:    Matra Datavision 1994
6
7
8 private class MultiLine from BRepFill 
9
10         ---Purpose: Private class used to compute the 3d curve and the
11         --          two 2d curves resulting from the intersection of a
12         --          surface of linear extrusion( Bissec, Dz) and the 2
13         --          faces.    
14         --          This 3 curves will  have  the same parametrization 
15         --          as the Bissectrice.
16         --          This  class  is  to  be  send  to an approximation 
17         --          routine. 
18
19 uses
20     Face  from TopoDS,
21     Edge  from TopoDS,
22     Curve from Geom,
23     Curve from Geom2d,
24     Curve from Geom2dAdaptor,
25     Pnt   from gp,
26     Pnt2d from gp,
27     Shape from GeomAbs
28     
29 raises
30     DomainError from Standard
31     
32 is
33     Create;
34     
35     Create( Face1, Face2 : Face    from TopoDS;
36             Edge1, Edge2 : Edge    from TopoDS;
37             Inv1 , Inv2  : Boolean from Standard;
38             Bissec       : Curve   from Geom2d );
39
40     IsParticularCase(me)
41     returns Boolean from Standard
42         ---Purpose: Search if the Projection of the Bissectrice on the
43         --          faces needs an approximation or not.
44         --          Returns true if the approximation is not needed.
45     is static;
46
47     Continuity (me) returns Shape from GeomAbs
48         ---Purpose: Returns   the continuity  betwwen  the two  faces
49         --          seShape         from GeomAbsparated by myBis.
50     is static;
51             
52     Curves(me; Curve   : in out Curve from Geom;
53                PCurve1 : in out Curve from Geom2d;
54                PCurve2 : in out Curve from Geom2d)
55     raises 
56         DomainError from Standard
57         ---Purpose: raises if IsParticularCase is <False>.
58     is static;
59
60     FirstParameter(me) 
61         ---Purpose: returns the first parameter of the Bissectrice.
62     returns Real from Standard is static;                   
63
64     LastParameter(me) 
65         ---Purpose: returns the last parameter of the Bissectrice.
66     returns Real from Standard is static;                   
67
68     Value ( me; U : Real from Standard)
69         ---Purpose: Returns the current point on the 3d curve
70     returns Pnt from gp is static;
71
72     ValueOnF1(me; U : Real from Standard)
73         ---Purpose: returns the current point on the PCurve of the
74         --          first face
75     returns Pnt2d from gp is static;
76         
77     ValueOnF2(me; U : Real from Standard)
78         ---Purpose: returns the current point on the PCurve of the
79         --          first face
80     returns Pnt2d from gp is static;
81     
82     Value3dOnF1OnF2(me; 
83                     U   : Real         from Standard;
84                     P3d : in out Pnt   from gp;
85                     PF1 : in out Pnt2d from gp;
86                     PF2 : in out Pnt2d from gp)
87     is static;              
88                         
89         
90 fields
91     myFace1 : Face    from TopoDS;
92     myFace2 : Face    from TopoDS;
93     myU1    : Curve   from Geom2dAdaptor;
94     myV1    : Curve   from Geom2dAdaptor;
95     myU2    : Curve   from Geom2dAdaptor;
96     myV2    : Curve   from Geom2dAdaptor;
97     myIsoU1 : Boolean from Standard;
98     myIsoU2 : Boolean from Standard;
99     myBis   : Curve   from Geom2dAdaptor;
100     myKPart : Integer from Standard;
101     myCont  : Shape   from GeomAbs;     
102     
103 end MultiLine;