summaryrefslogtreecommitdiff
path: root/src/StepShape/StepShape_SweptAreaSolid.cxx
blob: b7b83c78c1b072e79dd1db5ac10b45a15f676ec7 (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 <StepShape_SweptAreaSolid.ixx>


StepShape_SweptAreaSolid::StepShape_SweptAreaSolid ()  {}

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

	StepRepr_RepresentationItem::Init(aName);
}

void StepShape_SweptAreaSolid::Init(
	const Handle(TCollection_HAsciiString)& aName,
	const Handle(StepGeom_CurveBoundedSurface)& aSweptArea)
{
	// --- classe own fields ---
	sweptArea = aSweptArea;
	// --- classe inherited fields ---
	StepRepr_RepresentationItem::Init(aName);
}


void StepShape_SweptAreaSolid::SetSweptArea(const Handle(StepGeom_CurveBoundedSurface)& aSweptArea)
{
	sweptArea = aSweptArea;
}

Handle(StepGeom_CurveBoundedSurface) StepShape_SweptAreaSolid::SweptArea() const
{
	return sweptArea;
}