summaryrefslogtreecommitdiff
path: root/src/StepShape/StepShape_VertexPoint.cxx
blob: 0f27f8879b1339441fa91ba68c61fa786fe2d530 (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
#include <StepShape_VertexPoint.ixx>


StepShape_VertexPoint::StepShape_VertexPoint ()  {}

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

	StepRepr_RepresentationItem::Init(aName);
}

void StepShape_VertexPoint::Init(
	const Handle(TCollection_HAsciiString)& aName,
	const Handle(StepGeom_Point)& aVertexGeometry)
{
	// --- classe own fields ---
	vertexGeometry = aVertexGeometry;
	// --- classe inherited fields ---
	StepRepr_RepresentationItem::Init(aName);
}


void StepShape_VertexPoint::SetVertexGeometry(const Handle(StepGeom_Point)& aVertexGeometry)
{
	vertexGeometry = aVertexGeometry;
}

Handle(StepGeom_Point) StepShape_VertexPoint::VertexGeometry() const
{
	return vertexGeometry;
}