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
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 #ifndef _Adaptor3d_HOffsetCurve_HeaderFile
18 #define _Adaptor3d_HOffsetCurve_HeaderFile
20 #include <Standard.hxx>
21 #include <Standard_Type.hxx>
23 #include <Adaptor3d_OffsetCurve.hxx>
24 #include <Adaptor2d_HCurve2d.hxx>
25 class Standard_OutOfRange;
26 class Standard_NoSuchObject;
27 class Standard_DomainError;
28 class Adaptor3d_OffsetCurve;
29 class Adaptor2d_Curve2d;
32 class Adaptor3d_HOffsetCurve;
33 DEFINE_STANDARD_HANDLE(Adaptor3d_HOffsetCurve, Adaptor2d_HCurve2d)
36 class Adaptor3d_HOffsetCurve : public Adaptor2d_HCurve2d
42 Standard_EXPORT Adaptor3d_HOffsetCurve();
44 Standard_EXPORT Adaptor3d_HOffsetCurve(const Adaptor3d_OffsetCurve& C);
46 Standard_EXPORT void Set (const Adaptor3d_OffsetCurve& C);
48 Standard_EXPORT const Adaptor2d_Curve2d& Curve2d() const;
50 Adaptor3d_OffsetCurve& ChangeCurve2d();
55 DEFINE_STANDARD_RTTI(Adaptor3d_HOffsetCurve,Adaptor2d_HCurve2d)
60 Adaptor3d_OffsetCurve myCurve;
70 #define TheCurve Adaptor3d_OffsetCurve
71 #define TheCurve_hxx <Adaptor3d_OffsetCurve.hxx>
72 #define Adaptor2d_GenHCurve2d Adaptor3d_HOffsetCurve
73 #define Adaptor2d_GenHCurve2d_hxx <Adaptor3d_HOffsetCurve.hxx>
74 #define Handle_Adaptor2d_GenHCurve2d Handle(Adaptor3d_HOffsetCurve)
76 #include <Adaptor2d_GenHCurve2d.lxx>
80 #undef Adaptor2d_GenHCurve2d
81 #undef Adaptor2d_GenHCurve2d_hxx
82 #undef Handle_Adaptor2d_GenHCurve2d
87 #endif // _Adaptor3d_HOffsetCurve_HeaderFile