blob: 1f864368c66ac8c03c094d54f179c93a8b9f3187 (
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 <StepRepr_Transformation.ixx>
#include <Interface_Macros.hxx>
StepRepr_Transformation::StepRepr_Transformation () { }
Standard_Integer StepRepr_Transformation::CaseNum(const Handle(Standard_Transient)& ent) const
{
if (ent.IsNull()) return 0;
if (ent->IsKind(STANDARD_TYPE(StepRepr_ItemDefinedTransformation))) return 1;
if (ent->IsKind(STANDARD_TYPE(StepRepr_FunctionallyDefinedTransformation))) return 2;
return 0;
}
Handle(StepRepr_ItemDefinedTransformation) StepRepr_Transformation::ItemDefinedTransformation () const
{
return GetCasted(StepRepr_ItemDefinedTransformation,Value());
}
Handle(StepRepr_FunctionallyDefinedTransformation) StepRepr_Transformation::FunctionallyDefinedTransformation () const
{
return GetCasted(StepRepr_FunctionallyDefinedTransformation,Value());
}
|