summaryrefslogtreecommitdiff
path: root/src/StepVisual/StepVisual_PresentationSize.cxx
blob: d807e071aa3a7a19c1b5c3625a5f240e9ffba755 (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
#include <StepVisual_PresentationSize.ixx>


StepVisual_PresentationSize::StepVisual_PresentationSize ()  {}

void StepVisual_PresentationSize::Init(
	const StepVisual_PresentationSizeAssignmentSelect& aUnit,
	const Handle(StepVisual_PlanarBox)& aSize)
{
	// --- classe own fields ---
	unit = aUnit;
	size = aSize;
}


void StepVisual_PresentationSize::SetUnit(const StepVisual_PresentationSizeAssignmentSelect& aUnit)
{
	unit = aUnit;
}

StepVisual_PresentationSizeAssignmentSelect StepVisual_PresentationSize::Unit() const
{
	return unit;
}

void StepVisual_PresentationSize::SetSize(const Handle(StepVisual_PlanarBox)& aSize)
{
	size = aSize;
}

Handle(StepVisual_PlanarBox) StepVisual_PresentationSize::Size() const
{
	return size;
}