0026371: Implementation of new entities for GD&T
[occt.git] / src / StepDimTol / StepDimTol_RunoutZoneOrientation.hxx
1 // Created on: 2015-07-13
2 // Created by: Irina KRYLOVA
3 // Copyright (c) 2015 OPEN CASCADE SAS
4 //
5 // This file is part of Open CASCADE Technology software library.
6 //
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
12 //
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
15
16 #ifndef _StepDimTol_RunoutZoneOrientation_HeaderFile
17 #define _StepDimTol_RunoutZoneOrientation_HeaderFile
18
19 #include <StepDimTol_RunoutZoneOrientation.hxx>
20
21 #include <MMgt_TShared.hxx>
22 #include <Standard.hxx>
23 #include <Standard_Type.hxx>
24 #include <StepBasic_PlaneAngleMeasureWithUnit.hxx>
25
26 class StepDimTol_RunoutZoneOrientation;
27 DEFINE_STANDARD_HANDLE(StepDimTol_RunoutZoneOrientation, MMgt_TShared)
28 //! Added for Dimensional Tolerances
29 class StepDimTol_RunoutZoneOrientation : public MMgt_TShared
30 {
31
32 public:
33   
34   Standard_EXPORT StepDimTol_RunoutZoneOrientation();
35   
36   //! Init all field own and inherited
37   Standard_EXPORT virtual void Init (const Handle(StepBasic_PlaneAngleMeasureWithUnit)& theAngle);
38
39   //! Returns field Angle
40   inline Handle(StepBasic_PlaneAngleMeasureWithUnit) Angle()
41   {
42     return angle;
43   }
44   
45   //! Set field Angle
46   inline void SetAngle(const Handle(StepBasic_PlaneAngleMeasureWithUnit) &theAngle)
47   {
48     angle = theAngle;
49   }
50   
51   DEFINE_STANDARD_RTTI(StepDimTol_RunoutZoneOrientation, MMgt_TShared)
52   
53 private:
54   Handle(StepBasic_PlaneAngleMeasureWithUnit) angle;
55
56 };
57 #endif // _StepDimTol_RunoutZoneOrientation_HeaderFile