0024428: Implementation of LGPL license
[occt.git] / src / Adaptor3d / Adaptor3d_GenHCurve.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--
973c2be1 8-- This library is free software; you can redistribute it and / or modify it
9-- under the terms of the GNU Lesser General Public version 2.1 as published
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 GenHCurve from Adaptor3d
18 (TheCurve as Curve from Adaptor3d)
19
20inherits HCurve from Adaptor3d
21
22 ---Purpose: Generic class used to create a curve manipulated
23 -- with Handle from a curve described by the class Curve.
24
25uses
26 Curve from Adaptor3d
27
28
29raises
30
31 OutOfRange from Standard,
32 NoSuchObject from Standard,
33 DomainError from Standard
34
35is
36
37 Create
38 ---Purpose: Creates an empty GenHCurve.
39 returns mutable GenHCurve from Adaptor3d;
40
41
42 Create(C: TheCurve)
43
44 ---Purpose: Creates a GenHCurve from a Curve
45 returns mutable GenHCurve from Adaptor3d;
46
47
48 Set(me: mutable; C: TheCurve)
49
50 ---Purpose: Sets the field of the GenHCurve.
51 is static;
52
53 Curve(me)
54
55 ---Purpose: Returns the curve used to create the GenHCurve.
56 -- This is redefined from HCurve, cannot be inline.
57 --
58 ---C++: return const &
59
60 returns Curve from Adaptor3d;
61
62 GetCurve(me:mutable)
63
64 ---Purpose: Returns the curve used to create the GenHCurve.
65 -- This is redefined from HCurve, cannot be inline.
66 --
67 ---C++: return &
68
69 returns Curve from Adaptor3d;
70
71
72 ChangeCurve(me : mutable)
73
74 ---Purpose: Returns the curve used to create the GenHCurve.
75 --
76 ---C++: return &
77 ---C++: inline
78
79 returns TheCurve;
80
81fields
82
83 myCurve : TheCurve is protected;
84
85end GenHCurve;