summaryrefslogtreecommitdiff
path: root/src/StepGeom/StepGeom_SweptSurface.cxx
blob: 055b37421c2bd659b8f320d9c1e1c01ed47dc664 (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
#include <StepGeom_SweptSurface.ixx>


StepGeom_SweptSurface::StepGeom_SweptSurface ()  {}

void StepGeom_SweptSurface::Init(
	const Handle(TCollection_HAsciiString)& aName)
{

	StepRepr_RepresentationItem::Init(aName);
}

void StepGeom_SweptSurface::Init(
	const Handle(TCollection_HAsciiString)& aName,
	const Handle(StepGeom_Curve)& aSweptCurve)
{
	// --- classe own fields ---
	sweptCurve = aSweptCurve;
	// --- classe inherited fields ---
	StepRepr_RepresentationItem::Init(aName);
}


void StepGeom_SweptSurface::SetSweptCurve(const Handle(StepGeom_Curve)& aSweptCurve)
{
	sweptCurve = aSweptCurve;
}

Handle(StepGeom_Curve) StepGeom_SweptSurface::SweptCurve() const
{
	return sweptCurve;
}