0022627: Change OCCT memory management defaults
[occt.git] / src / IntSurf / IntSurf_PntOn2S.lxx
1 inline void IntSurf_PntOn2S::SetValue (const gp_Pnt& Pt ) {
2
3   pt = Pt;
4 }
5
6
7 inline void IntSurf_PntOn2S::SetValue (const gp_Pnt& Pt,
8                                        const Standard_Real U1,
9                                        const Standard_Real V1,
10                                        const Standard_Real U2,
11                                        const Standard_Real V2) {
12
13   pt = Pt;
14   u1 = U1;
15   v1 = V1;
16   u2 = U2;
17   v2 = V2;
18 }
19
20 inline void IntSurf_PntOn2S::SetValue (const Standard_Real U1,
21                                        const Standard_Real V1,
22                                        const Standard_Real U2,
23                                        const Standard_Real V2) {
24   u1 = U1;
25   v1 = V1;
26   u2 = U2;
27   v2 = V2;
28 }
29
30
31 inline const gp_Pnt& IntSurf_PntOn2S::Value () const {
32
33   return pt;
34 }
35
36
37 inline void IntSurf_PntOn2S::ParametersOnS1 (Standard_Real& U1,
38                                              Standard_Real& V1) const
39 {
40   U1 = u1;
41   V1 = v1;
42 }
43
44
45 inline void IntSurf_PntOn2S::ParametersOnS2 (Standard_Real& U2,
46                                              Standard_Real& V2) const
47 {
48   U2 = u2;
49   V2 = v2;
50 }
51
52 inline void IntSurf_PntOn2S::Parameters (Standard_Real& U1,
53                                          Standard_Real& V1,
54                                          Standard_Real& U2,
55                                          Standard_Real& V2) const
56 {
57   U1 = u1;
58   V1 = v1;
59   U2 = u2;
60   V2 = v2;
61 }
62
63
64