0024624: Lost word in license statement in source files
[occt.git] / src / BRep / BRep_CurveOnSurface.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 CurveOnSurface from BRep inherits GCurve from BRep
18
19 ---Purpose: Representation of a curve by a curve in the
20 -- parametric space of a surface.
21
22uses
23 Pnt from gp,
24 Pnt2d from gp,
25 Box2d from Bnd,
26 Curve from Geom2d,
27 Surface from Geom,
28 Location from TopLoc,
29 CurveRepresentation from BRep
30
31is
32
33 Create(PC : Curve from Geom2d;
34 S : Surface from Geom;
35 L : Location from TopLoc)
36 returns mutable CurveOnSurface from BRep;
37
38 SetUVPoints(me : mutable; P1, P2 : Pnt2d from gp)
39 ---C++: inline
40 is static;
41
42 UVPoints(me; P1, P2 : out Pnt2d from gp)
43 ---C++: inline
44 is static;
45
46 D0(me; U : Real; P : out Pnt from gp);
47 ---Purpose: Computes the point at parameter U.
48
49 IsCurveOnSurface(me) returns Boolean
50 ---Purpose: Returns True.
51 is redefined;
52
53 IsCurveOnSurface(me; S : Surface from Geom; L : Location from TopLoc)
54 returns Boolean
55 ---Purpose: A curve in the parametric space of a surface.
56 is redefined;
57
58 Surface(me) returns any Surface from Geom
59 ---C++: return const &
60 is redefined;
61
62 PCurve(me) returns any Curve from Geom2d
63 ---C++: return const &
64 is redefined;
65
66 PCurve(me : mutable; C : Curve from Geom2d)
67 is redefined;
68
69 Copy(me) returns mutable CurveRepresentation from BRep is virtual;
70 ---Purpose: Return a copy of this representation.
71
72 Update(me : mutable)
73 ---Purpose: Recomputes any derived data after a modification.
74 -- This is called when the range is modified.
75 is redefined;
76
77fields
78
79 myPCurve : Curve from Geom2d;
80 mySurface : Surface from Geom;
81 myUV1 : Pnt2d from gp is protected;
82 myUV2 : Pnt2d from gp is protected;
83
84end CurveOnSurface;