blob: 6bb301f3b8845b65406159a0beae3ef71fabaa67 (
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 <StepVisual_PlanarExtent.ixx>
StepVisual_PlanarExtent::StepVisual_PlanarExtent () {}
void StepVisual_PlanarExtent::Init(
const Handle(TCollection_HAsciiString)& aName)
{
StepRepr_RepresentationItem::Init(aName);
}
void StepVisual_PlanarExtent::Init(
const Handle(TCollection_HAsciiString)& aName,
const Standard_Real aSizeInX,
const Standard_Real aSizeInY)
{
// --- classe own fields ---
sizeInX = aSizeInX;
sizeInY = aSizeInY;
// --- classe inherited fields ---
StepRepr_RepresentationItem::Init(aName);
}
void StepVisual_PlanarExtent::SetSizeInX(const Standard_Real aSizeInX)
{
sizeInX = aSizeInX;
}
Standard_Real StepVisual_PlanarExtent::SizeInX() const
{
return sizeInX;
}
void StepVisual_PlanarExtent::SetSizeInY(const Standard_Real aSizeInY)
{
sizeInY = aSizeInY;
}
Standard_Real StepVisual_PlanarExtent::SizeInY() const
{
return sizeInY;
}
|