1 // File: StepElement_CurveElementSectionDefinition.cxx
2 // Created: Thu Dec 12 17:29:00 2002
3 // Author: data exchange team
4 // Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
5 // Copyright: Open CASCADE 2002
7 #include <StepElement_CurveElementSectionDefinition.ixx>
9 //=======================================================================
10 //function : StepElement_CurveElementSectionDefinition
12 //=======================================================================
14 StepElement_CurveElementSectionDefinition::StepElement_CurveElementSectionDefinition ()
18 //=======================================================================
21 //=======================================================================
23 void StepElement_CurveElementSectionDefinition::Init (const Handle(TCollection_HAsciiString) &aDescription,
24 const Standard_Real aSectionAngle)
27 theDescription = aDescription;
29 theSectionAngle = aSectionAngle;
32 //=======================================================================
33 //function : Description
35 //=======================================================================
37 Handle(TCollection_HAsciiString) StepElement_CurveElementSectionDefinition::Description () const
39 return theDescription;
42 //=======================================================================
43 //function : SetDescription
45 //=======================================================================
47 void StepElement_CurveElementSectionDefinition::SetDescription (const Handle(TCollection_HAsciiString) &aDescription)
49 theDescription = aDescription;
52 //=======================================================================
53 //function : SectionAngle
55 //=======================================================================
57 Standard_Real StepElement_CurveElementSectionDefinition::SectionAngle () const
59 return theSectionAngle;
62 //=======================================================================
63 //function : SetSectionAngle
65 //=======================================================================
67 void StepElement_CurveElementSectionDefinition::SetSectionAngle (const Standard_Real aSectionAngle)
69 theSectionAngle = aSectionAngle;