blob: 7e24073739ad95cb486eb440e4b1cceca80061d3 (
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 <StepGeom_Axis2Placement.ixx>
#include <Interface_Macros.hxx>
StepGeom_Axis2Placement::StepGeom_Axis2Placement () { }
Standard_Integer StepGeom_Axis2Placement::CaseNum(const Handle(Standard_Transient)& ent) const
{
if (ent.IsNull()) return 0;
if (ent->IsKind(STANDARD_TYPE(StepGeom_Axis2Placement2d))) return 1;
if (ent->IsKind(STANDARD_TYPE(StepGeom_Axis2Placement3d))) return 2;
return 0;
}
Handle(StepGeom_Axis2Placement2d) StepGeom_Axis2Placement::Axis2Placement2d () const
{
return GetCasted(StepGeom_Axis2Placement2d,Value());
}
Handle(StepGeom_Axis2Placement3d) StepGeom_Axis2Placement::Axis2Placement3d () const
{
return GetCasted(StepGeom_Axis2Placement3d,Value());
}
|