summaryrefslogtreecommitdiff
path: root/src/StepGeom/StepGeom_SurfacePatch.cxx
blob: 90f56b412c7bbb9431c8f418d4154cac119e6419 (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
59
60
61
62
63
64
65
66
67
68
69
70
#include <StepGeom_SurfacePatch.ixx>


StepGeom_SurfacePatch::StepGeom_SurfacePatch ()  {}

void StepGeom_SurfacePatch::Init(
	const Handle(StepGeom_BoundedSurface)& aParentSurface,
	const StepGeom_TransitionCode aUTransition,
	const StepGeom_TransitionCode aVTransition,
	const Standard_Boolean aUSense,
	const Standard_Boolean aVSense)
{
	// --- classe own fields ---
	parentSurface = aParentSurface;
	uTransition = aUTransition;
	vTransition = aVTransition;
	uSense = aUSense;
	vSense = aVSense;
}


void StepGeom_SurfacePatch::SetParentSurface(const Handle(StepGeom_BoundedSurface)& aParentSurface)
{
	parentSurface = aParentSurface;
}

Handle(StepGeom_BoundedSurface) StepGeom_SurfacePatch::ParentSurface() const
{
	return parentSurface;
}

void StepGeom_SurfacePatch::SetUTransition(const StepGeom_TransitionCode aUTransition)
{
	uTransition = aUTransition;
}

StepGeom_TransitionCode StepGeom_SurfacePatch::UTransition() const
{
	return uTransition;
}

void StepGeom_SurfacePatch::SetVTransition(const StepGeom_TransitionCode aVTransition)
{
	vTransition = aVTransition;
}

StepGeom_TransitionCode StepGeom_SurfacePatch::VTransition() const
{
	return vTransition;
}

void StepGeom_SurfacePatch::SetUSense(const Standard_Boolean aUSense)
{
	uSense = aUSense;
}

Standard_Boolean StepGeom_SurfacePatch::USense() const
{
	return uSense;
}

void StepGeom_SurfacePatch::SetVSense(const Standard_Boolean aVSense)
{
	vSense = aVSense;
}

Standard_Boolean StepGeom_SurfacePatch::VSense() const
{
	return vSense;
}