Integration of OCCT 6.5.0 from SVN
[occt.git] / src / Adaptor2d / Adaptor2d_GenHCurve2d.cdl
CommitLineData
7fd59977 1-- File: Adaptor2d_GenHCurve2d.cdl
2-- Created: Wed Feb 23 11:38:12 1994
3-- Author: model
4-- <model@topsn2>
5---Copyright: Matra Datavision 1994
6
7
8
9generic class GenHCurve2d from Adaptor2d
10 (TheCurve as Curve2d from Adaptor2d)
11
12inherits HCurve2d from Adaptor2d
13
14 ---Purpose: Generic class used to create a curve2d manipulated
15 -- with Handle from a curve2d described by the class Curve2d.
16
17uses
18
19 Curve2d from Adaptor2d
20
21
22raises
23
24 OutOfRange from Standard,
25 NoSuchObject from Standard,
26 DomainError from Standard
27
28is
29
30 Create
31 ---Purpose: Creates an empty GenHCurve2d.
32 returns mutable GenHCurve2d from Adaptor2d;
33
34
35 Create(C: TheCurve)
36
37 ---Purpose: Creates a GenHCurve2d from a Curve
38 returns mutable GenHCurve2d from Adaptor2d;
39
40
41 Set(me: mutable; C: TheCurve)
42
43 ---Purpose: Sets the field of the GenHCurve2d.
44 is static;
45
46 Curve2d(me)
47
48 ---Purpose: Returns the curve used to create the GenHCurve2d.
49 -- This is redefined from HCurve2d, cannot be inline.
50 --
51 ---C++: return const &
52
53 returns Curve2d from Adaptor2d
54 is static;
55
56 ChangeCurve2d(me : mutable)
57
58 ---Purpose: Returns the curve used to create the GenHCurve.
59 --
60 ---C++: return &
61 ---C++: inline
62
63 returns TheCurve;
64
65
66fields
67
68 myCurve : TheCurve is protected;
69
70end GenHCurve2d;