0024624: Lost word in license statement in source files
[occt.git] / src / BRep / BRep_CurveOnClosedSurface.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 CurveOnClosedSurface from BRep inherits CurveOnSurface from BRep
18
19 ---Purpose: Representation of a curve by two pcurves on
20 -- a closed surface.
21
22uses
23 Pnt2d from gp,
24 Box2d from Bnd,
25 Curve from Geom2d,
26 Surface from Geom,
27 Location from TopLoc,
28 Shape from GeomAbs,
29 CurveRepresentation from BRep
30
31is
32
33 Create(PC1, PC2 : Curve from Geom2d;
34 S : Surface from Geom;
35 L : Location from TopLoc;
36 C : Shape from GeomAbs)
37 returns mutable CurveOnClosedSurface from BRep;
38
39 SetUVPoints2(me : mutable; P1, P2 : Pnt2d from gp)
40 ---C++: inline
41 is static;
42
43 UVPoints2(me; P1, P2 : out Pnt2d from gp)
44 ---C++: inline
45 is static;
46
47 IsCurveOnClosedSurface(me) returns Boolean
48 ---Purpose: Returns True.
49 is redefined;
50
51 IsRegularity(me) returns Boolean
52 ---Purpose: Returns True
53 is redefined;
54
55 IsRegularity(me; S1,S2 : Surface from Geom;
56 L1,L2 : Location from TopLoc)
57 returns Boolean
58 ---Purpose: A curve on two surfaces (continuity).
59 is redefined;
60
61 PCurve2(me) returns any Curve from Geom2d
62 ---C++: return const &
63 is redefined;
64
65 Surface2(me) returns any Surface from Geom
66 ---Purpose: Returns Surface()
67 --
68 ---C++: return const &
69 is redefined;
70
71 Location2(me) returns Location from TopLoc
72 ---Purpose: Returns Location()
73 --
74 ---C++: return const &
75 is redefined;
76
77 Continuity(me) returns Shape from GeomAbs
78 ---C++: return const &
79 is redefined;
80
81 Continuity(me : mutable; C : Shape from GeomAbs)
82 is redefined;
83
84 PCurve2(me : mutable; C : Curve from Geom2d)
85 is redefined;
86
87 Copy(me) returns mutable CurveRepresentation from BRep
88 ---Purpose: Return a copy of this representation.
89 is redefined;
90
91 Update(me : mutable)
92 ---Purpose: Recomputes any derived data after a modification.
93 -- This is called when the range is modified.
94 is redefined;
95
96fields
97
98 myPCurve2 : Curve from Geom2d;
99 myContinuity : Shape from GeomAbs;
100 myUV21 : Pnt2d from gp;
101 myUV22 : Pnt2d from gp;
102
103end CurveOnClosedSurface;
104
105
106
107
108