mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-17 23:53:20 +08:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
21
src/StepVisual/StepVisual_FillStyleSelect.cxx
Executable file
21
src/StepVisual/StepVisual_FillStyleSelect.cxx
Executable file
@@ -0,0 +1,21 @@
|
||||
|
||||
#include <StepVisual_FillStyleSelect.ixx>
|
||||
#include <Interface_Macros.hxx>
|
||||
|
||||
StepVisual_FillStyleSelect::StepVisual_FillStyleSelect () { }
|
||||
|
||||
Standard_Integer StepVisual_FillStyleSelect::CaseNum(const Handle(Standard_Transient)& ent) const
|
||||
{
|
||||
if (ent.IsNull()) return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepVisual_FillAreaStyleColour))) return 1;
|
||||
// if (ent->IsKind(STANDARD_TYPE(StepVisual_ExternallyDefinedTileStyle))) return 2;
|
||||
// if (ent->IsKind(STANDARD_TYPE(StepVisual_FillAreaStyleTiles))) return 3;
|
||||
// if (ent->IsKind(STANDARD_TYPE(StepVisual_ExternallyDefinedHatchStyle))) return 4;
|
||||
// if (ent->IsKind(STANDARD_TYPE(StepVisual_FillAreaStyleHatching))) return 5;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Handle(StepVisual_FillAreaStyleColour) StepVisual_FillStyleSelect::FillAreaStyleColour () const
|
||||
{
|
||||
return GetCasted(StepVisual_FillAreaStyleColour,Value());
|
||||
}
|
||||
Reference in New Issue
Block a user