summaryrefslogtreecommitdiff
path: root/inc/IntSurf_LineOn2S.lxx
blob: d647418010e9296b713c038d1db7bf9048c311a2 (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
#include <IntSurf_PntOn2S.hxx>




inline void IntSurf_LineOn2S::Add(const IntSurf_PntOn2S& P) {

  mySeq.Append(P);
}


inline Standard_Integer IntSurf_LineOn2S::NbPoints() const {

  return mySeq.Length();
}


inline void IntSurf_LineOn2S::Reverse () {
  mySeq.Reverse();
}


inline const IntSurf_PntOn2S& IntSurf_LineOn2S::
  Value(const Standard_Integer Index) const
{
  return mySeq(Index);
}


inline void IntSurf_LineOn2S::Value(const Standard_Integer Index,
				    const IntSurf_PntOn2S& P)
{
  mySeq(Index) = P;
}

inline void IntSurf_LineOn2S::SetUV(const Standard_Integer Index,
				    const Standard_Boolean OnFirst,
				    const Standard_Real U,
				    const Standard_Real V)
{
  mySeq(Index).SetValue(OnFirst,U,V);
}

inline void IntSurf_LineOn2S::Clear ()
{
  mySeq.Clear();
}