Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-10-26 09:47:44

0001 // Created on : Sat May 02 12:41:16 2020
0002 // Created by: Irina KRYLOVA
0003 // Generator:   Express (EXPRESS -> CASCADE/XSTEP Translator) V3.0
0004 // Copyright (c) Open CASCADE 2020
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _StepKinematics_SurfacePair_HeaderFile_
0018 #define _StepKinematics_SurfacePair_HeaderFile_
0019 
0020 #include <Standard.hxx>
0021 #include <StepKinematics_HighOrderKinematicPair.hxx>
0022 
0023 #include <TCollection_HAsciiString.hxx>
0024 #include <StepRepr_RepresentationItem.hxx>
0025 #include <StepKinematics_KinematicJoint.hxx>
0026 #include <StepGeom_Surface.hxx>
0027 
0028 //! Representation of STEP entity SurfacePair
0029 class StepKinematics_SurfacePair : public StepKinematics_HighOrderKinematicPair
0030 {
0031 public:
0032   //! default constructor
0033   Standard_EXPORT StepKinematics_SurfacePair();
0034 
0035   //! Initialize all fields (own and inherited)
0036   Standard_EXPORT void Init(
0037     const occ::handle<TCollection_HAsciiString>&      theRepresentationItem_Name,
0038     const occ::handle<TCollection_HAsciiString>&      theItemDefinedTransformation_Name,
0039     const bool                                        hasItemDefinedTransformation_Description,
0040     const occ::handle<TCollection_HAsciiString>&      theItemDefinedTransformation_Description,
0041     const occ::handle<StepRepr_RepresentationItem>&   theItemDefinedTransformation_TransformItem1,
0042     const occ::handle<StepRepr_RepresentationItem>&   theItemDefinedTransformation_TransformItem2,
0043     const occ::handle<StepKinematics_KinematicJoint>& theKinematicPair_Joint,
0044     const occ::handle<StepGeom_Surface>&              theSurface1,
0045     const occ::handle<StepGeom_Surface>&              theSurface2,
0046     const bool                                        theOrientation);
0047 
0048   //! Returns field Surface1
0049   Standard_EXPORT occ::handle<StepGeom_Surface> Surface1() const;
0050   //! Sets field Surface1
0051   Standard_EXPORT void SetSurface1(const occ::handle<StepGeom_Surface>& theSurface1);
0052 
0053   //! Returns field Surface2
0054   Standard_EXPORT occ::handle<StepGeom_Surface> Surface2() const;
0055   //! Sets field Surface2
0056   Standard_EXPORT void SetSurface2(const occ::handle<StepGeom_Surface>& theSurface2);
0057 
0058   //! Returns field Orientation
0059   Standard_EXPORT bool Orientation() const;
0060   //! Sets field Orientation
0061   Standard_EXPORT void SetOrientation(const bool theOrientation);
0062 
0063   DEFINE_STANDARD_RTTIEXT(StepKinematics_SurfacePair, StepKinematics_HighOrderKinematicPair)
0064 
0065 private:
0066   occ::handle<StepGeom_Surface> mySurface1;
0067   occ::handle<StepGeom_Surface> mySurface2;
0068   bool                          myOrientation;
0069 };
0070 #endif // _StepKinematics_SurfacePair_HeaderFile_