0031642: Visualization - crash in Graphic3d_Structure::SetVisual() on redisplaying...
[occt.git] / src / StepFEA / StepFEA_FeaSurfaceSectionGeometricRelationship.cxx
CommitLineData
b311480e 1// Created on: 2003-01-22
2// Created by: data exchange team
973c2be1 3// Copyright (c) 2003-2014 OPEN CASCADE SAS
b311480e 4//
973c2be1 5// This file is part of Open CASCADE Technology software library.
b311480e 6//
d5f74e42 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
973c2be1 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.
b311480e 12//
973c2be1 13// Alternatively, this file may be used under the terms of Open CASCADE
14// commercial license or contractual agreement.
b311480e 15
7fd59977 16// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
7fd59977 17
42cf5bc1 18#include <Standard_Type.hxx>
19#include <StepElement_AnalysisItemWithinRepresentation.hxx>
20#include <StepElement_SurfaceSection.hxx>
21#include <StepFEA_FeaSurfaceSectionGeometricRelationship.hxx>
7fd59977 22
25e59720 23IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaSurfaceSectionGeometricRelationship,Standard_Transient)
92efcf78 24
7fd59977 25//=======================================================================
26//function : StepFEA_FeaSurfaceSectionGeometricRelationship
27//purpose :
28//=======================================================================
7fd59977 29StepFEA_FeaSurfaceSectionGeometricRelationship::StepFEA_FeaSurfaceSectionGeometricRelationship ()
30{
31}
32
33//=======================================================================
34//function : Init
35//purpose :
36//=======================================================================
37
38void StepFEA_FeaSurfaceSectionGeometricRelationship::Init (const Handle(StepElement_SurfaceSection) &aSectionRef,
39 const Handle(StepElement_AnalysisItemWithinRepresentation) &aItem)
40{
41
42 theSectionRef = aSectionRef;
43
44 theItem = aItem;
45}
46
47//=======================================================================
48//function : SectionRef
49//purpose :
50//=======================================================================
51
52Handle(StepElement_SurfaceSection) StepFEA_FeaSurfaceSectionGeometricRelationship::SectionRef () const
53{
54 return theSectionRef;
55}
56
57//=======================================================================
58//function : SetSectionRef
59//purpose :
60//=======================================================================
61
62void StepFEA_FeaSurfaceSectionGeometricRelationship::SetSectionRef (const Handle(StepElement_SurfaceSection) &aSectionRef)
63{
64 theSectionRef = aSectionRef;
65}
66
67//=======================================================================
68//function : Item
69//purpose :
70//=======================================================================
71
72Handle(StepElement_AnalysisItemWithinRepresentation) StepFEA_FeaSurfaceSectionGeometricRelationship::Item () const
73{
74 return theItem;
75}
76
77//=======================================================================
78//function : SetItem
79//purpose :
80//=======================================================================
81
82void StepFEA_FeaSurfaceSectionGeometricRelationship::SetItem (const Handle(StepElement_AnalysisItemWithinRepresentation) &aItem)
83{
84 theItem = aItem;
85}