1 // Created on: 2003-02-04
2 // Created by: data exchange team
3 // Copyright (c) 2003-2014 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
16 #ifndef _StepFEA_ElementGeometricRelationship_HeaderFile
17 #define _StepFEA_ElementGeometricRelationship_HeaderFile
19 #include <Standard.hxx>
20 #include <Standard_Type.hxx>
22 #include <StepFEA_ElementOrElementGroup.hxx>
23 #include <StepElement_ElementAspect.hxx>
24 #include <Standard_Transient.hxx>
25 class StepElement_AnalysisItemWithinRepresentation;
26 class StepFEA_ElementOrElementGroup;
27 class StepElement_ElementAspect;
30 class StepFEA_ElementGeometricRelationship;
31 DEFINE_STANDARD_HANDLE(StepFEA_ElementGeometricRelationship, Standard_Transient)
33 //! Representation of STEP entity ElementGeometricRelationship
34 class StepFEA_ElementGeometricRelationship : public Standard_Transient
41 Standard_EXPORT StepFEA_ElementGeometricRelationship();
43 //! Initialize all fields (own and inherited)
44 Standard_EXPORT void Init (const StepFEA_ElementOrElementGroup& aElementRef, const Handle(StepElement_AnalysisItemWithinRepresentation)& aItem, const StepElement_ElementAspect& aAspect);
46 //! Returns field ElementRef
47 Standard_EXPORT StepFEA_ElementOrElementGroup ElementRef() const;
49 //! Set field ElementRef
50 Standard_EXPORT void SetElementRef (const StepFEA_ElementOrElementGroup& ElementRef);
52 //! Returns field Item
53 Standard_EXPORT Handle(StepElement_AnalysisItemWithinRepresentation) Item() const;
56 Standard_EXPORT void SetItem (const Handle(StepElement_AnalysisItemWithinRepresentation)& Item);
58 //! Returns field Aspect
59 Standard_EXPORT StepElement_ElementAspect Aspect() const;
62 Standard_EXPORT void SetAspect (const StepElement_ElementAspect& Aspect);
67 DEFINE_STANDARD_RTTIEXT(StepFEA_ElementGeometricRelationship,Standard_Transient)
77 StepFEA_ElementOrElementGroup theElementRef;
78 Handle(StepElement_AnalysisItemWithinRepresentation) theItem;
79 StepElement_ElementAspect theAspect;
90 #endif // _StepFEA_ElementGeometricRelationship_HeaderFile