summaryrefslogtreecommitdiff
path: root/src/StepShape/StepShape_BoxDomain.cxx
blob: a057730d818c9e381b09221ebacde0a2c4d844bd (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#include <StepShape_BoxDomain.ixx>


StepShape_BoxDomain::StepShape_BoxDomain ()  {}

void StepShape_BoxDomain::Init(
	const Handle(StepGeom_CartesianPoint)& aCorner,
	const Standard_Real aXlength,
	const Standard_Real aYlength,
	const Standard_Real aZlength)
{
	// --- classe own fields ---
	corner = aCorner;
	xlength = aXlength;
	ylength = aYlength;
	zlength = aZlength;
}


void StepShape_BoxDomain::SetCorner(const Handle(StepGeom_CartesianPoint)& aCorner)
{
	corner = aCorner;
}

Handle(StepGeom_CartesianPoint) StepShape_BoxDomain::Corner() const
{
	return corner;
}

void StepShape_BoxDomain::SetXlength(const Standard_Real aXlength)
{
	xlength = aXlength;
}

Standard_Real StepShape_BoxDomain::Xlength() const
{
	return xlength;
}

void StepShape_BoxDomain::SetYlength(const Standard_Real aYlength)
{
	ylength = aYlength;
}

Standard_Real StepShape_BoxDomain::Ylength() const
{
	return ylength;
}

void StepShape_BoxDomain::SetZlength(const Standard_Real aZlength)
{
	zlength = aZlength;
}

Standard_Real StepShape_BoxDomain::Zlength() const
{
	return zlength;
}