summaryrefslogtreecommitdiff
path: root/src/StepShape/StepShape_CsgSolid.cxx
blob: 79f603555a67171d45cba7f35e2f0bdcd1f1c528 (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_CsgSolid.ixx>


StepShape_CsgSolid::StepShape_CsgSolid ()  {}

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

	StepRepr_RepresentationItem::Init(aName);
}

void StepShape_CsgSolid::Init(
	const Handle(TCollection_HAsciiString)& aName,
	const StepShape_CsgSelect& aTreeRootExpression)
{
	// --- classe own fields ---
	treeRootExpression = aTreeRootExpression;
	// --- classe inherited fields ---
	StepRepr_RepresentationItem::Init(aName);
}


void StepShape_CsgSolid::SetTreeRootExpression(const StepShape_CsgSelect& aTreeRootExpression)
{
	treeRootExpression = aTreeRootExpression;
}

StepShape_CsgSelect StepShape_CsgSolid::TreeRootExpression() const
{
	return treeRootExpression;
}