Integration of OCCT 6.5.0 from SVN
[occt.git] / src / StepVisual / StepVisual_FillAreaStyle.cxx
CommitLineData
7fd59977 1#include <StepVisual_FillAreaStyle.ixx>
2
3
4StepVisual_FillAreaStyle::StepVisual_FillAreaStyle () {}
5
6void StepVisual_FillAreaStyle::Init(
7 const Handle(TCollection_HAsciiString)& aName,
8 const Handle(StepVisual_HArray1OfFillStyleSelect)& aFillStyles)
9{
10 // --- classe own fields ---
11 name = aName;
12 fillStyles = aFillStyles;
13}
14
15
16void StepVisual_FillAreaStyle::SetName(const Handle(TCollection_HAsciiString)& aName)
17{
18 name = aName;
19}
20
21Handle(TCollection_HAsciiString) StepVisual_FillAreaStyle::Name() const
22{
23 return name;
24}
25
26void StepVisual_FillAreaStyle::SetFillStyles(const Handle(StepVisual_HArray1OfFillStyleSelect)& aFillStyles)
27{
28 fillStyles = aFillStyles;
29}
30
31Handle(StepVisual_HArray1OfFillStyleSelect) StepVisual_FillAreaStyle::FillStyles() const
32{
33 return fillStyles;
34}
35
36StepVisual_FillStyleSelect StepVisual_FillAreaStyle::FillStylesValue(const Standard_Integer num) const
37{
38 return fillStyles->Value(num);
39}
40
41Standard_Integer StepVisual_FillAreaStyle::NbFillStyles () const
42{
43 return fillStyles->Length();
44}