Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-04 08:46:21

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