0022627: Change OCCT memory management defaults
[occt.git] / src / StepShape / StepShape_BoxDomain.cxx
1 #include <StepShape_BoxDomain.ixx>
2
3
4 StepShape_BoxDomain::StepShape_BoxDomain ()  {}
5
6 void StepShape_BoxDomain::Init(
7         const Handle(StepGeom_CartesianPoint)& aCorner,
8         const Standard_Real aXlength,
9         const Standard_Real aYlength,
10         const Standard_Real aZlength)
11 {
12         // --- classe own fields ---
13         corner = aCorner;
14         xlength = aXlength;
15         ylength = aYlength;
16         zlength = aZlength;
17 }
18
19
20 void StepShape_BoxDomain::SetCorner(const Handle(StepGeom_CartesianPoint)& aCorner)
21 {
22         corner = aCorner;
23 }
24
25 Handle(StepGeom_CartesianPoint) StepShape_BoxDomain::Corner() const
26 {
27         return corner;
28 }
29
30 void StepShape_BoxDomain::SetXlength(const Standard_Real aXlength)
31 {
32         xlength = aXlength;
33 }
34
35 Standard_Real StepShape_BoxDomain::Xlength() const
36 {
37         return xlength;
38 }
39
40 void StepShape_BoxDomain::SetYlength(const Standard_Real aYlength)
41 {
42         ylength = aYlength;
43 }
44
45 Standard_Real StepShape_BoxDomain::Ylength() const
46 {
47         return ylength;
48 }
49
50 void StepShape_BoxDomain::SetZlength(const Standard_Real aZlength)
51 {
52         zlength = aZlength;
53 }
54
55 Standard_Real StepShape_BoxDomain::Zlength() const
56 {
57         return zlength;
58 }