0022627: Change OCCT memory management defaults
[occt.git] / src / IntSurf / IntSurf_LineOn2S.lxx
1 #include <IntSurf_PntOn2S.hxx>
2
3
4
5
6 inline void IntSurf_LineOn2S::Add(const IntSurf_PntOn2S& P) {
7
8   mySeq.Append(P);
9 }
10
11
12 inline Standard_Integer IntSurf_LineOn2S::NbPoints() const {
13
14   return mySeq.Length();
15 }
16
17
18 inline void IntSurf_LineOn2S::Reverse () {
19   mySeq.Reverse();
20 }
21
22
23 inline const IntSurf_PntOn2S& IntSurf_LineOn2S::
24   Value(const Standard_Integer Index) const
25 {
26   return mySeq(Index);
27 }
28
29
30 inline void IntSurf_LineOn2S::Value(const Standard_Integer Index,
31                                     const IntSurf_PntOn2S& P)
32 {
33   mySeq(Index) = P;
34 }
35
36 inline void IntSurf_LineOn2S::SetUV(const Standard_Integer Index,
37                                     const Standard_Boolean OnFirst,
38                                     const Standard_Real U,
39                                     const Standard_Real V)
40 {
41   mySeq(Index).SetValue(OnFirst,U,V);
42 }
43
44 inline void IntSurf_LineOn2S::Clear ()
45 {
46   mySeq.Clear();
47 }
48