0022627: Change OCCT memory management defaults
[occt.git] / src / BRep / BRep_CurveOn2Surfaces.cdl
1 -- File:        BRep_CurveOn2Surfaces.cdl
2 -- Created:     Tue Jul  6 10:22:53 1993
3 -- Author:      Remi LEQUETTE
4 --              <rle@phylox>
5 ---Copyright:    Matra Datavision 1993
6
7
8 class CurveOn2Surfaces from BRep inherits CurveRepresentation from BRep
9
10         ---Purpose: Defines a continuity between two surfaces.
11
12 uses
13     Pnt      from gp,
14     Surface  from Geom,
15     Location from TopLoc,
16     Shape    from GeomAbs,
17     CurveRepresentation from BRep
18     
19 raises
20     NullObject from Standard
21     
22 is
23
24     Create(S1 , S2  : Surface  from Geom;
25            L1 , L2  : Location from TopLoc;
26            C        : Shape    from GeomAbs)
27     returns mutable CurveOn2Surfaces from BRep;
28
29     IsRegularity(me) returns Boolean
30         ---Purpose: Returns True.
31     is redefined;
32     
33     IsRegularity(me; S1,S2 : Surface from Geom; 
34                      L1,L2 : Location from TopLoc)  
35     returns Boolean
36         ---Purpose: A curve on two surfaces (continuity). 
37     is redefined;
38
39     D0(me; U : Real; P : out Pnt from gp);
40         ---Purpose: Raises an error.
41     
42     Surface(me) returns any Surface from Geom
43         ---C++: return const &
44     is redefined;
45
46     Surface2(me) returns any Surface from Geom
47         ---C++: return const &
48     is redefined;
49
50     Location2(me) returns Location from TopLoc
51         ---C++: return const &
52     is redefined;
53
54     Continuity(me) returns Shape from GeomAbs
55         ---C++: return const &
56     is redefined;
57     
58     Continuity(me : mutable; C : Shape from GeomAbs)
59     is redefined;
60     
61     Copy(me) returns mutable CurveRepresentation from BRep;
62         ---Purpose: Return a copy of this representation.
63
64 fields
65     mySurface    : Surface from Geom;
66     mySurface2   : Surface from Geom;
67     myLocation2  : Location from TopLoc;
68     myContinuity : Shape from GeomAbs;
69
70 end CurveOn2Surfaces;