42cf5bc1 |
1 | // Created on: 1992-10-08 |
2 | // Created by: Isabelle GRIGNON |
3 | // Copyright (c) 1992-1999 Matra Datavision |
4 | // Copyright (c) 1999-2014 OPEN CASCADE SAS |
5 | // |
6 | // This file is part of Open CASCADE Technology software library. |
7 | // |
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. |
13 | // |
14 | // Alternatively, this file may be used under the terms of Open CASCADE |
15 | // commercial license or contractual agreement. |
16 | |
17 | #ifndef _Adaptor3d_HCurveOnSurface_HeaderFile |
18 | #define _Adaptor3d_HCurveOnSurface_HeaderFile |
19 | |
20 | #include <Standard.hxx> |
21 | #include <Standard_Type.hxx> |
22 | |
23 | #include <Adaptor3d_CurveOnSurface.hxx> |
24 | #include <Adaptor3d_HCurve.hxx> |
25 | class Standard_OutOfRange; |
26 | class Standard_NoSuchObject; |
27 | class Standard_DomainError; |
28 | class Adaptor3d_CurveOnSurface; |
29 | class Adaptor3d_Curve; |
30 | |
31 | |
32 | class Adaptor3d_HCurveOnSurface; |
33 | DEFINE_STANDARD_HANDLE(Adaptor3d_HCurveOnSurface, Adaptor3d_HCurve) |
34 | |
35 | |
36 | class Adaptor3d_HCurveOnSurface : public Adaptor3d_HCurve |
37 | { |
38 | |
39 | public: |
40 | |
41 | |
42 | Standard_EXPORT Adaptor3d_HCurveOnSurface(); |
43 | |
44 | Standard_EXPORT Adaptor3d_HCurveOnSurface(const Adaptor3d_CurveOnSurface& C); |
45 | |
46 | Standard_EXPORT void Set (const Adaptor3d_CurveOnSurface& C); |
47 | |
48 | Standard_EXPORT const Adaptor3d_Curve& Curve() const; |
49 | |
50 | Standard_EXPORT Adaptor3d_Curve& GetCurve(); |
51 | |
52 | Adaptor3d_CurveOnSurface& ChangeCurve(); |
53 | |
54 | |
55 | |
56 | |
57 | DEFINE_STANDARD_RTTI(Adaptor3d_HCurveOnSurface,Adaptor3d_HCurve) |
58 | |
59 | protected: |
60 | |
61 | |
62 | Adaptor3d_CurveOnSurface myCurve; |
63 | |
64 | |
65 | private: |
66 | |
67 | |
68 | |
69 | |
70 | }; |
71 | |
72 | #define TheCurve Adaptor3d_CurveOnSurface |
73 | #define TheCurve_hxx <Adaptor3d_CurveOnSurface.hxx> |
74 | #define Adaptor3d_GenHCurve Adaptor3d_HCurveOnSurface |
75 | #define Adaptor3d_GenHCurve_hxx <Adaptor3d_HCurveOnSurface.hxx> |
76 | #define Handle_Adaptor3d_GenHCurve Handle(Adaptor3d_HCurveOnSurface) |
77 | |
78 | #include <Adaptor3d_GenHCurve.lxx> |
79 | |
80 | #undef TheCurve |
81 | #undef TheCurve_hxx |
82 | #undef Adaptor3d_GenHCurve |
83 | #undef Adaptor3d_GenHCurve_hxx |
84 | #undef Handle_Adaptor3d_GenHCurve |
85 | |
86 | |
87 | |
88 | |
89 | #endif // _Adaptor3d_HCurveOnSurface_HeaderFile |