Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:07

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 //! Representation of STEP entity ProjectedZoneDefinition
0029 class StepDimTol_ProjectedZoneDefinition : public StepDimTol_ToleranceZoneDefinition
0030 {
0031 
0032 public:
0033   
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
0045   {
0046     return myProjectionEnd;
0047   }
0048   
0049   //! Set field ProjectionEnd
0050   inline void SetProjectionEnd (const Handle(StepRepr_ShapeAspect) &theProjectionEnd)
0051   {
0052     myProjectionEnd = theProjectionEnd;
0053   }
0054   
0055   //! Returns field ProjectionLength
0056   inline Handle(StepBasic_LengthMeasureWithUnit) ProjectionLength()
0057   {
0058     return myProjectionLength;
0059   }
0060   
0061   //! Set field ProjectionLength
0062   inline void SetProjectionLength(const Handle(StepBasic_LengthMeasureWithUnit)& theProjectionLength)
0063   {
0064     myProjectionLength = theProjectionLength;
0065   }
0066   
0067   DEFINE_STANDARD_RTTIEXT(StepDimTol_ProjectedZoneDefinition,StepDimTol_ToleranceZoneDefinition)
0068 
0069 private: 
0070   Handle(StepRepr_ShapeAspect) myProjectionEnd;
0071   Handle(StepBasic_LengthMeasureWithUnit) myProjectionLength;
0072 };
0073 #endif // _StepDimTol_ProjectionZoneDefinition_HeaderFile