Integration of OCCT 6.5.0 from SVN
[occt.git] / src / StepShape / StepShape_Subedge.cxx
CommitLineData
7fd59977 1// File: StepShape_Subedge.cxx
2// Created: Fri Jan 4 17:42:45 2002
3// Author: data exchange team
4// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
5// Copyright: Matra Datavision 2000
6
7#include <StepShape_Subedge.ixx>
8
9//=======================================================================
10//function : StepShape_Subedge
11//purpose :
12//=======================================================================
13
14StepShape_Subedge::StepShape_Subedge ()
15{
16}
17
18//=======================================================================
19//function : Init
20//purpose :
21//=======================================================================
22
23void StepShape_Subedge::Init (const Handle(TCollection_HAsciiString) &aRepresentationItem_Name,
24 const Handle(StepShape_Vertex) &aEdge_EdgeStart,
25 const Handle(StepShape_Vertex) &aEdge_EdgeEnd,
26 const Handle(StepShape_Edge) &aParentEdge)
27{
28 StepShape_Edge::Init(aRepresentationItem_Name,
29 aEdge_EdgeStart,
30 aEdge_EdgeEnd);
31
32 theParentEdge = aParentEdge;
33}
34
35//=======================================================================
36//function : ParentEdge
37//purpose :
38//=======================================================================
39
40Handle(StepShape_Edge) StepShape_Subedge::ParentEdge () const
41{
42 return theParentEdge;
43}
44
45//=======================================================================
46//function : SetParentEdge
47//purpose :
48//=======================================================================
49
50void StepShape_Subedge::SetParentEdge (const Handle(StepShape_Edge) &aParentEdge)
51{
52 theParentEdge = aParentEdge;
53}