blob: b6b143a2986d5651fee8883808f5dd1688938992 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#include <StepVisual_PresentationRepresentationSelect.ixx>
#include <Interface_Macros.hxx>
StepVisual_PresentationRepresentationSelect::StepVisual_PresentationRepresentationSelect () { }
Standard_Integer StepVisual_PresentationRepresentationSelect::CaseNum(const Handle(Standard_Transient)& ent) const
{
if (ent.IsNull()) return 0;
if (ent->IsKind(STANDARD_TYPE(StepVisual_PresentationRepresentation))) return 1;
if (ent->IsKind(STANDARD_TYPE(StepVisual_PresentationSet))) return 2;
return 0;
}
Handle(StepVisual_PresentationRepresentation) StepVisual_PresentationRepresentationSelect::PresentationRepresentation () const
{
return GetCasted(StepVisual_PresentationRepresentation,Value());
}
Handle(StepVisual_PresentationSet) StepVisual_PresentationRepresentationSelect::PresentationSet () const
{
return GetCasted(StepVisual_PresentationSet,Value());
}
|