summaryrefslogtreecommitdiff
path: root/src/StepShape/StepShape_HalfSpaceSolid.cxx
blob: e35ddacf879cf7ced1e6b75eca74f4207fb1c1ee (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
35
36
37
38
39
40
41
42
43
44
#include <StepShape_HalfSpaceSolid.ixx>


StepShape_HalfSpaceSolid::StepShape_HalfSpaceSolid ()  {}

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

	StepRepr_RepresentationItem::Init(aName);
}

void StepShape_HalfSpaceSolid::Init(
	const Handle(TCollection_HAsciiString)& aName,
	const Handle(StepGeom_Surface)& aBaseSurface,
	const Standard_Boolean aAgreementFlag)
{
	// --- classe own fields ---
	baseSurface = aBaseSurface;
	agreementFlag = aAgreementFlag;
	// --- classe inherited fields ---
	StepRepr_RepresentationItem::Init(aName);
}


void StepShape_HalfSpaceSolid::SetBaseSurface(const Handle(StepGeom_Surface)& aBaseSurface)
{
	baseSurface = aBaseSurface;
}

Handle(StepGeom_Surface) StepShape_HalfSpaceSolid::BaseSurface() const
{
	return baseSurface;
}

void StepShape_HalfSpaceSolid::SetAgreementFlag(const Standard_Boolean aAgreementFlag)
{
	agreementFlag = aAgreementFlag;
}

Standard_Boolean StepShape_HalfSpaceSolid::AgreementFlag() const
{
	return agreementFlag;
}