0024624: Lost word in license statement in source files
[occt.git] / src / Adaptor2d / Adaptor2d_GenHCurve2d.cdl
CommitLineData
b311480e 1-- Created on: 1994-02-23
2-- Created by: model
3-- Copyright (c) 1994-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
17generic class GenHCurve2d from Adaptor2d
18 (TheCurve as Curve2d from Adaptor2d)
19
20inherits HCurve2d from Adaptor2d
21
22 ---Purpose: Generic class used to create a curve2d manipulated
23 -- with Handle from a curve2d described by the class Curve2d.
24
25uses
26
27 Curve2d from Adaptor2d
28
29
30raises
31
32 OutOfRange from Standard,
33 NoSuchObject from Standard,
34 DomainError from Standard
35
36is
37
38 Create
39 ---Purpose: Creates an empty GenHCurve2d.
40 returns mutable GenHCurve2d from Adaptor2d;
41
42
43 Create(C: TheCurve)
44
45 ---Purpose: Creates a GenHCurve2d from a Curve
46 returns mutable GenHCurve2d from Adaptor2d;
47
48
49 Set(me: mutable; C: TheCurve)
50
51 ---Purpose: Sets the field of the GenHCurve2d.
52 is static;
53
54 Curve2d(me)
55
56 ---Purpose: Returns the curve used to create the GenHCurve2d.
57 -- This is redefined from HCurve2d, cannot be inline.
58 --
59 ---C++: return const &
60
61 returns Curve2d from Adaptor2d
62 is static;
63
64 ChangeCurve2d(me : mutable)
65
66 ---Purpose: Returns the curve used to create the GenHCurve.
67 --
68 ---C++: return &
69 ---C++: inline
70
71 returns TheCurve;
72
73
74fields
75
76 myCurve : TheCurve is protected;
77
78end GenHCurve2d;