Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-14 09:16:07

0001 // Created on: 2015-07-10
0002 // Created by: Irina KRYLOVA
0003 // Copyright (c) 2015 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015 
0016 #ifndef _StepRepr_ParallelOffset_HeaderFile
0017 #define _StepRepr_ParallelOffset_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 #include <Standard_Type.hxx>
0021 
0022 #include <StepRepr_DerivedShapeAspect.hxx>
0023 #include <StepData_Logical.hxx>
0024 class TCollection_HAsciiString;
0025 class StepRepr_ProductDefinitionShape;
0026 
0027 //! Added for Dimensional Tolerances
0028 class StepRepr_ParallelOffset : public StepRepr_DerivedShapeAspect
0029 {
0030 
0031 public:
0032   Standard_EXPORT StepRepr_ParallelOffset();
0033 
0034   //! Initialize all fields (own and inherited)
0035   Standard_EXPORT void Init(const occ::handle<TCollection_HAsciiString>&        theName,
0036                             const occ::handle<TCollection_HAsciiString>&        theDescription,
0037                             const occ::handle<StepRepr_ProductDefinitionShape>& theOfShape,
0038                             const StepData_Logical                 theProductDefinitional,
0039                             const occ::handle<Standard_Transient>& theOffset);
0040 
0041   //! Returns field Offset
0042   inline occ::handle<Standard_Transient> Offset() const { return offset; }
0043 
0044   //! Set field Offset
0045   inline void SetOffset(const occ::handle<Standard_Transient>& theOffset) { offset = theOffset; }
0046 
0047   DEFINE_STANDARD_RTTIEXT(StepRepr_ParallelOffset, StepRepr_DerivedShapeAspect)
0048 
0049 private:
0050   occ::handle<Standard_Transient> offset;
0051 };
0052 #endif // _StepRepr_ParallelOffset_HeaderFile