1 // Created on : Sat May 02 12:41:15 2020
2 // Created by: Irina KRYLOVA
3 // Generator:	Express (EXPRESS -> CASCADE/XSTEP Translator) V3.0
4 // Copyright (c) Open CASCADE 2020
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 _StepKinematics_PlanarCurvePair_HeaderFile_
18 #define _StepKinematics_PlanarCurvePair_HeaderFile_
19 
20 #include <Standard.hxx>
21 #include <Standard_Type.hxx>
22 #include <StepKinematics_HighOrderKinematicPair.hxx>
23 
24 #include <TCollection_HAsciiString.hxx>
25 #include <StepRepr_RepresentationItem.hxx>
26 #include <StepRepr_ItemDefinedTransformation.hxx>
27 #include <StepKinematics_KinematicJoint.hxx>
28 #include <StepGeom_Curve.hxx>
29 
30 DEFINE_STANDARD_HANDLE(StepKinematics_PlanarCurvePair, StepKinematics_HighOrderKinematicPair)
31 
32 //! Representation of STEP entity PlanarCurvePair
33 class StepKinematics_PlanarCurvePair : public StepKinematics_HighOrderKinematicPair
34 {
35 public :
36 
37   //! default constructor
38   Standard_EXPORT StepKinematics_PlanarCurvePair();
39 
40   //! Initialize all fields (own and inherited)
41  Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theRepresentationItem_Name,
42                            const Handle(TCollection_HAsciiString)& theItemDefinedTransformation_Name,
43                            const Standard_Boolean hasItemDefinedTransformation_Description,
44                            const Handle(TCollection_HAsciiString)& theItemDefinedTransformation_Description,
45                            const Handle(StepRepr_RepresentationItem)& theItemDefinedTransformation_TransformItem1,
46                            const Handle(StepRepr_RepresentationItem)& theItemDefinedTransformation_TransformItem2,
47                            const Handle(StepKinematics_KinematicJoint)& theKinematicPair_Joint,
48                            const Handle(StepGeom_Curve)& theCurve1,
49                            const Handle(StepGeom_Curve)& theCurve2,
50                            const Standard_Boolean theOrientation);
51 
52   //! Returns field Curve1
53   Standard_EXPORT Handle(StepGeom_Curve) Curve1() const;
54   //! Sets field Curve1
55   Standard_EXPORT void SetCurve1 (const Handle(StepGeom_Curve)& theCurve1);
56 
57   //! Returns field Curve2
58   Standard_EXPORT Handle(StepGeom_Curve) Curve2() const;
59   //! Sets field Curve2
60   Standard_EXPORT void SetCurve2 (const Handle(StepGeom_Curve)& theCurve2);
61 
62   //! Returns field Orientation
63   Standard_EXPORT Standard_Boolean Orientation() const;
64   //! Sets field Orientation
65   Standard_EXPORT void SetOrientation (const Standard_Boolean theOrientation);
66 
67 DEFINE_STANDARD_RTTIEXT(StepKinematics_PlanarCurvePair, StepKinematics_HighOrderKinematicPair)
68 
69 private:
70   Handle(StepGeom_Curve) myCurve1;
71   Handle(StepGeom_Curve) myCurve2;
72   Standard_Boolean myOrientation;
73 
74 };
75 #endif // _StepKinematics_PlanarCurvePair_HeaderFile_
76