0022627: Change OCCT memory management defaults
[occt.git] / src / IntSurf / IntSurf_PntOn2S.cxx
1 #include <IntSurf_PntOn2S.ixx>
2
3
4 IntSurf_PntOn2S::IntSurf_PntOn2S () : pt(0,0,0),u1(0),v1(0),u2(0),v2(0) {};
5
6 void IntSurf_PntOn2S::SetValue (const gp_Pnt& Pt,
7                                 const Standard_Boolean OnFirst,
8                                 const Standard_Real U,
9                                 const Standard_Real V) {
10
11   pt = Pt;
12   if (OnFirst) {
13     u1 = U;
14     v1 = V;
15   }
16   else {
17     u2 = U;
18     v2 = V;
19   }
20 }
21
22
23 void IntSurf_PntOn2S::SetValue (const Standard_Boolean OnFirst,
24                                 const Standard_Real U,
25                                 const Standard_Real V) {
26
27   if (OnFirst) {
28     u1 = U;
29     v1 = V;
30   }
31   else {
32     u2 = U;
33     v2 = V;
34   }
35 }
36
37
38