1 -- Created on: 1994-02-23
3 -- Copyright (c) 1994-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
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
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.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 generic class GenHCurve2d from Adaptor2d
18 (TheCurve as Curve2d from Adaptor2d)
20 inherits HCurve2d from Adaptor2d
22 ---Purpose: Generic class used to create a curve2d manipulated
23 -- with Handle from a curve2d described by the class Curve2d.
27 Curve2d from Adaptor2d
32 OutOfRange from Standard,
33 NoSuchObject from Standard,
34 DomainError from Standard
39 ---Purpose: Creates an empty GenHCurve2d.
40 returns GenHCurve2d from Adaptor2d;
45 ---Purpose: Creates a GenHCurve2d from a Curve
46 returns GenHCurve2d from Adaptor2d;
49 Set(me: mutable; C: TheCurve)
51 ---Purpose: Sets the field of the GenHCurve2d.
56 ---Purpose: Returns the curve used to create the GenHCurve2d.
57 -- This is redefined from HCurve2d, cannot be inline.
59 ---C++: return const &
61 returns Curve2d from Adaptor2d
64 ChangeCurve2d(me : mutable)
66 ---Purpose: Returns the curve used to create the GenHCurve.
76 myCurve : TheCurve is protected;