summaryrefslogtreecommitdiff
path: root/src/StepShape/StepShape_Edge.cxx
blob: 848a234e2c1bcd3f337290afa280fe28198c9595 (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 <StepShape_Edge.ixx>


StepShape_Edge::StepShape_Edge ()  {}

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

	StepRepr_RepresentationItem::Init(aName);
}

void StepShape_Edge::Init(
	const Handle(TCollection_HAsciiString)& aName,
	const Handle(StepShape_Vertex)& aEdgeStart,
	const Handle(StepShape_Vertex)& aEdgeEnd)
{
	// --- classe own fields ---
	edgeStart = aEdgeStart;
	edgeEnd = aEdgeEnd;
	// --- classe inherited fields ---
	StepRepr_RepresentationItem::Init(aName);
}


void StepShape_Edge::SetEdgeStart(const Handle(StepShape_Vertex)& aEdgeStart)
{
	edgeStart = aEdgeStart;
}

Handle(StepShape_Vertex) StepShape_Edge::EdgeStart() const
{
	return edgeStart;
}

void StepShape_Edge::SetEdgeEnd(const Handle(StepShape_Vertex)& aEdgeEnd)
{
	edgeEnd = aEdgeEnd;
}

Handle(StepShape_Vertex) StepShape_Edge::EdgeEnd() const
{
	return edgeEnd;
}