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


StepShape_FaceBound::StepShape_FaceBound ()  {}

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

	StepRepr_RepresentationItem::Init(aName);
}

void StepShape_FaceBound::Init(
	const Handle(TCollection_HAsciiString)& aName,
	const Handle(StepShape_Loop)& aBound,
	const Standard_Boolean aOrientation)
{
	// --- classe own fields ---
	bound = aBound;
	orientation = aOrientation;
	// --- classe inherited fields ---
	StepRepr_RepresentationItem::Init(aName);
}


void StepShape_FaceBound::SetBound(const Handle(StepShape_Loop)& aBound)
{
	bound = aBound;
}

Handle(StepShape_Loop) StepShape_FaceBound::Bound() const
{
	return bound;
}

void StepShape_FaceBound::SetOrientation(const Standard_Boolean aOrientation)
{
	orientation = aOrientation;
}

Standard_Boolean StepShape_FaceBound::Orientation() const
{
	return orientation;
}