blob: 0f3be94a5d1b9d63e400fc35ae604e968f0bbb30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#include <StepGeom_SurfaceOfRevolution.ixx>
StepGeom_SurfaceOfRevolution::StepGeom_SurfaceOfRevolution () {}
void StepGeom_SurfaceOfRevolution::Init(
const Handle(TCollection_HAsciiString)& aName,
const Handle(StepGeom_Curve)& aSweptCurve)
{
StepGeom_SweptSurface::Init(aName, aSweptCurve);
}
void StepGeom_SurfaceOfRevolution::Init(
const Handle(TCollection_HAsciiString)& aName,
const Handle(StepGeom_Curve)& aSweptCurve,
const Handle(StepGeom_Axis1Placement)& aAxisPosition)
{
// --- classe own fields ---
axisPosition = aAxisPosition;
// --- classe inherited fields ---
StepGeom_SweptSurface::Init(aName, aSweptCurve);
}
void StepGeom_SurfaceOfRevolution::SetAxisPosition(const Handle(StepGeom_Axis1Placement)& aAxisPosition)
{
axisPosition = aAxisPosition;
}
Handle(StepGeom_Axis1Placement) StepGeom_SurfaceOfRevolution::AxisPosition() const
{
return axisPosition;
}
|