0024830: Remove redundant keyword 'mutable' in CDL declarations
[occt.git] / src / BRep / BRep_CurveOn2Surfaces.cdl
CommitLineData
b311480e 1-- Created on: 1993-07-06
2-- Created by: Remi LEQUETTE
3-- Copyright (c) 1993-1999 Matra Datavision
973c2be1 4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5--
973c2be1 6-- This file is part of Open CASCADE Technology software library.
b311480e 7--
d5f74e42 8-- This library is free software; you can redistribute it and/or modify it under
9-- the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 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.
b311480e 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17class CurveOn2Surfaces from BRep inherits CurveRepresentation from BRep
18
19 ---Purpose: Defines a continuity between two surfaces.
20
21uses
22 Pnt from gp,
23 Surface from Geom,
24 Location from TopLoc,
25 Shape from GeomAbs,
26 CurveRepresentation from BRep
27
28raises
29 NullObject from Standard
30
31is
32
33 Create(S1 , S2 : Surface from Geom;
34 L1 , L2 : Location from TopLoc;
35 C : Shape from GeomAbs)
6e33d3ce 36 returns CurveOn2Surfaces from BRep;
7fd59977 37
38 IsRegularity(me) returns Boolean
39 ---Purpose: Returns True.
40 is redefined;
41
42 IsRegularity(me; S1,S2 : Surface from Geom;
43 L1,L2 : Location from TopLoc)
44 returns Boolean
45 ---Purpose: A curve on two surfaces (continuity).
46 is redefined;
47
48 D0(me; U : Real; P : out Pnt from gp);
49 ---Purpose: Raises an error.
50
51 Surface(me) returns any Surface from Geom
52 ---C++: return const &
53 is redefined;
54
55 Surface2(me) returns any Surface from Geom
56 ---C++: return const &
57 is redefined;
58
59 Location2(me) returns Location from TopLoc
60 ---C++: return const &
61 is redefined;
62
63 Continuity(me) returns Shape from GeomAbs
64 ---C++: return const &
65 is redefined;
66
67 Continuity(me : mutable; C : Shape from GeomAbs)
68 is redefined;
69
6e33d3ce 70 Copy(me) returns CurveRepresentation from BRep;
7fd59977 71 ---Purpose: Return a copy of this representation.
72
73fields
74 mySurface : Surface from Geom;
75 mySurface2 : Surface from Geom;
76 myLocation2 : Location from TopLoc;
77 myContinuity : Shape from GeomAbs;
78
79end CurveOn2Surfaces;