Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-11-01 10:18:46

0001 // Created on: 2015-07-13
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 _StepDimTol_RunoutZoneDefinition_HeaderFile
0017 #define _StepDimTol_RunoutZoneDefinition_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 
0021 #include <StepDimTol_RunoutZoneOrientation.hxx>
0022 #include <StepDimTol_ToleranceZoneDefinition.hxx>
0023 #include <Standard_Integer.hxx>
0024 #include <StepRepr_ShapeAspect.hxx>
0025 #include <NCollection_Array1.hxx>
0026 #include <NCollection_HArray1.hxx>
0027 
0028 //! Representation of STEP entity ToleranceZoneDefinition
0029 class StepDimTol_RunoutZoneDefinition : public StepDimTol_ToleranceZoneDefinition
0030 {
0031 
0032 public:
0033   //! Empty constructor
0034   Standard_EXPORT StepDimTol_RunoutZoneDefinition();
0035 
0036   //! Initialize all fields (own and inherited)
0037   Standard_EXPORT void Init(
0038     const occ::handle<StepDimTol_ToleranceZone>&                               theZone,
0039     const occ::handle<NCollection_HArray1<occ::handle<StepRepr_ShapeAspect>>>& theBoundaries,
0040     const occ::handle<StepDimTol_RunoutZoneOrientation>&                       theOrientation);
0041 
0042   //! Returns field Orientation
0043   inline occ::handle<StepDimTol_RunoutZoneOrientation> Orientation() const { return myOrientation; }
0044 
0045   //! Set field Orientation
0046   inline void SetOrientation(const occ::handle<StepDimTol_RunoutZoneOrientation>& theOrientation)
0047   {
0048     myOrientation = theOrientation;
0049   }
0050 
0051   DEFINE_STANDARD_RTTIEXT(StepDimTol_RunoutZoneDefinition, StepDimTol_ToleranceZoneDefinition)
0052 
0053 private:
0054   occ::handle<StepDimTol_RunoutZoneOrientation> myOrientation;
0055 };
0056 #endif // _StepDimTol_RunoutToleranceZone_HeaderFile