blob: cef3ebb82992cf8d2620a65767cb1bddb5467232 (
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
// File: MAT_BasicElt.cxx
// Created: Wed May 5 10:11:24 1993
// Author: Yves FRICAUD
// <yfr@phylox>
#include <MAT_BasicElt.ixx>
#include <MAT_SequenceOfArc.hxx>
#include <MAT_Node.hxx>
//========================================================================
// function:
// purpose :
//========================================================================
MAT_BasicElt::MAT_BasicElt(const Standard_Integer anInteger)
: startLeftArc (0),
endLeftArc (0),
index(anInteger)
{
}
//========================================================================
// function: StartArc
// purpose :
//========================================================================
Handle(MAT_Arc) MAT_BasicElt::StartArc() const
{
return (MAT_Arc*)startLeftArc;
}
//========================================================================
// function: EndArc
// purpose :
//========================================================================
Handle(MAT_Arc) MAT_BasicElt::EndArc() const
{
return (MAT_Arc*)endLeftArc;
}
//========================================================================
// function: Index
// purpose :
//========================================================================
Standard_Integer MAT_BasicElt::Index() const
{
return index;
}
//========================================================================
// function: GeomIndex
// purpose :
//========================================================================
Standard_Integer MAT_BasicElt::GeomIndex() const
{
return geomIndex;
}
//========================================================================
// function: SetStartArc
// purpose :
//========================================================================
void MAT_BasicElt::SetStartArc(const Handle_MAT_Arc& anArc)
{
startLeftArc = anArc.operator->();
}
//========================================================================
// function: SetEndArc
// purpose :
//========================================================================
void MAT_BasicElt::SetEndArc(const Handle_MAT_Arc& anArc)
{
endLeftArc = anArc.operator->();
}
//========================================================================
// function: SetIndex
// purpose :
//========================================================================
void MAT_BasicElt::SetIndex(const Standard_Integer anInteger)
{
index = anInteger;
}
//========================================================================
// function: SetGeomIndex
// purpose :
//========================================================================
void MAT_BasicElt::SetGeomIndex(const Standard_Integer anInteger)
{
geomIndex = anInteger;
}
|