summaryrefslogtreecommitdiff
path: root/src/StepGeom/StepGeom_PointOnSurface.cxx
blob: c4ec738b762c5eb07225c83fdeab8d8489ce7f74 (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
#include <StepGeom_PointOnSurface.ixx>


StepGeom_PointOnSurface::StepGeom_PointOnSurface ()  {}

void StepGeom_PointOnSurface::Init(
	const Handle(TCollection_HAsciiString)& aName)
{

	StepRepr_RepresentationItem::Init(aName);
}

void StepGeom_PointOnSurface::Init(
	const Handle(TCollection_HAsciiString)& aName,
	const Handle(StepGeom_Surface)& aBasisSurface,
	const Standard_Real aPointParameterU,
	const Standard_Real aPointParameterV)
{
	// --- classe own fields ---
	basisSurface = aBasisSurface;
	pointParameterU = aPointParameterU;
	pointParameterV = aPointParameterV;
	// --- classe inherited fields ---
	StepRepr_RepresentationItem::Init(aName);
}


void StepGeom_PointOnSurface::SetBasisSurface(const Handle(StepGeom_Surface)& aBasisSurface)
{
	basisSurface = aBasisSurface;
}

Handle(StepGeom_Surface) StepGeom_PointOnSurface::BasisSurface() const
{
	return basisSurface;
}

void StepGeom_PointOnSurface::SetPointParameterU(const Standard_Real aPointParameterU)
{
	pointParameterU = aPointParameterU;
}

Standard_Real StepGeom_PointOnSurface::PointParameterU() const
{
	return pointParameterU;
}

void StepGeom_PointOnSurface::SetPointParameterV(const Standard_Real aPointParameterV)
{
	pointParameterV = aPointParameterV;
}

Standard_Real StepGeom_PointOnSurface::PointParameterV() const
{
	return pointParameterV;
}