Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-10-31 09:37:35

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_ProjectedZoneDefinition_HeaderFile
0017 #define _StepDimTol_ProjectedZoneDefinition_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 
0021 #include <Standard_Integer.hxx>
0022 #include <StepBasic_LengthMeasureWithUnit.hxx>
0023 #include <StepDimTol_ToleranceZoneDefinition.hxx>
0024 #include <StepRepr_ShapeAspect.hxx>
0025 
0026 //! Representation of STEP entity ProjectedZoneDefinition
0027 class StepDimTol_ProjectedZoneDefinition : public StepDimTol_ToleranceZoneDefinition
0028 {
0029 
0030 public:
0031   //! Empty constructor
0032   Standard_EXPORT StepDimTol_ProjectedZoneDefinition();
0033 
0034   //! Initialize all fields (own and inherited)
0035   Standard_EXPORT void Init(
0036     const occ::handle<StepDimTol_ToleranceZone>&                               theZone,
0037     const occ::handle<NCollection_HArray1<occ::handle<StepRepr_ShapeAspect>>>& theBoundaries,
0038     const occ::handle<StepRepr_ShapeAspect>&                                   theProjectionEnd,
0039     const occ::handle<StepBasic_LengthMeasureWithUnit>&                        theProjectionLength);
0040 
0041   //! Returns field ProjectionEnd
0042   inline occ::handle<StepRepr_ShapeAspect> ProjectionEnd() const { return myProjectionEnd; }
0043 
0044   //! Set field ProjectionEnd
0045   inline void SetProjectionEnd(const occ::handle<StepRepr_ShapeAspect>& theProjectionEnd)
0046   {
0047     myProjectionEnd = theProjectionEnd;
0048   }
0049 
0050   //! Returns field ProjectionLength
0051   inline occ::handle<StepBasic_LengthMeasureWithUnit> ProjectionLength()
0052   {
0053     return myProjectionLength;
0054   }
0055 
0056   //! Set field ProjectionLength
0057   inline void SetProjectionLength(
0058     const occ::handle<StepBasic_LengthMeasureWithUnit>& theProjectionLength)
0059   {
0060     myProjectionLength = theProjectionLength;
0061   }
0062 
0063   DEFINE_STANDARD_RTTIEXT(StepDimTol_ProjectedZoneDefinition, StepDimTol_ToleranceZoneDefinition)
0064 
0065 private:
0066   occ::handle<StepRepr_ShapeAspect>            myProjectionEnd;
0067   occ::handle<StepBasic_LengthMeasureWithUnit> myProjectionLength;
0068 };
0069 #endif // _StepDimTol_ProjectionZoneDefinition_HeaderFile