Integration of OCCT 6.5.0 from SVN
[occt.git] / src / StepVisual / StepVisual_FillStyleSelect.cxx
CommitLineData
7fd59977 1
2#include <StepVisual_FillStyleSelect.ixx>
3#include <Interface_Macros.hxx>
4
5StepVisual_FillStyleSelect::StepVisual_FillStyleSelect () { }
6
7Standard_Integer StepVisual_FillStyleSelect::CaseNum(const Handle(Standard_Transient)& ent) const
8{
9 if (ent.IsNull()) return 0;
10 if (ent->IsKind(STANDARD_TYPE(StepVisual_FillAreaStyleColour))) return 1;
11// if (ent->IsKind(STANDARD_TYPE(StepVisual_ExternallyDefinedTileStyle))) return 2;
12// if (ent->IsKind(STANDARD_TYPE(StepVisual_FillAreaStyleTiles))) return 3;
13// if (ent->IsKind(STANDARD_TYPE(StepVisual_ExternallyDefinedHatchStyle))) return 4;
14// if (ent->IsKind(STANDARD_TYPE(StepVisual_FillAreaStyleHatching))) return 5;
15 return 0;
16}
17
18Handle(StepVisual_FillAreaStyleColour) StepVisual_FillStyleSelect::FillAreaStyleColour () const
19{
20 return GetCasted(StepVisual_FillAreaStyleColour,Value());
21}