blob: 4fc4a09331a93fac6e141a933084bc2dabef187d (
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
|
#include <StepVisual_PlanarBox.ixx>
StepVisual_PlanarBox::StepVisual_PlanarBox () {}
void StepVisual_PlanarBox::Init(
const Handle(TCollection_HAsciiString)& aName,
const Standard_Real aSizeInX,
const Standard_Real aSizeInY)
{
StepVisual_PlanarExtent::Init(aName, aSizeInX, aSizeInY);
}
void StepVisual_PlanarBox::Init(
const Handle(TCollection_HAsciiString)& aName,
const Standard_Real aSizeInX,
const Standard_Real aSizeInY,
const StepGeom_Axis2Placement& aPlacement)
{
// --- classe own fields ---
placement = aPlacement;
// --- classe inherited fields ---
StepVisual_PlanarExtent::Init(aName, aSizeInX, aSizeInY);
}
void StepVisual_PlanarBox::SetPlacement(const StepGeom_Axis2Placement& aPlacement)
{
placement = aPlacement;
}
StepGeom_Axis2Placement StepVisual_PlanarBox::Placement() const
{
return placement;
}
|