summaryrefslogtreecommitdiff
path: root/src/StepShape/StepShape_Subedge.cxx
blob: 9467cc28282ccea1d61ddea236141b3cb916a2ef (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
// File:	StepShape_Subedge.cxx
// Created:	Fri Jan  4 17:42:45 2002 
// Author:	data exchange team
// Generator:	ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
// Copyright:	Matra Datavision 2000

#include <StepShape_Subedge.ixx>

//=======================================================================
//function : StepShape_Subedge
//purpose  : 
//=======================================================================

StepShape_Subedge::StepShape_Subedge ()
{
}

//=======================================================================
//function : Init
//purpose  : 
//=======================================================================

void StepShape_Subedge::Init (const Handle(TCollection_HAsciiString) &aRepresentationItem_Name,
                              const Handle(StepShape_Vertex) &aEdge_EdgeStart,
                              const Handle(StepShape_Vertex) &aEdge_EdgeEnd,
                              const Handle(StepShape_Edge) &aParentEdge)
{
  StepShape_Edge::Init(aRepresentationItem_Name,
                       aEdge_EdgeStart,
                       aEdge_EdgeEnd);

  theParentEdge = aParentEdge;
}

//=======================================================================
//function : ParentEdge
//purpose  : 
//=======================================================================

Handle(StepShape_Edge) StepShape_Subedge::ParentEdge () const
{
  return theParentEdge;
}

//=======================================================================
//function : SetParentEdge
//purpose  : 
//=======================================================================

void StepShape_Subedge::SetParentEdge (const Handle(StepShape_Edge) &aParentEdge)
{
  theParentEdge = aParentEdge;
}