summaryrefslogtreecommitdiff
path: root/inc/IntSurf_PntOn2S.lxx
blob: dd4c60fa07264f0d93f8eed5f5e5c44fc29aeb14 (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
inline void IntSurf_PntOn2S::SetValue (const gp_Pnt& Pt ) {

  pt = Pt;
}


inline void IntSurf_PntOn2S::SetValue (const gp_Pnt& Pt,
				       const Standard_Real U1,
				       const Standard_Real V1,
				       const Standard_Real U2,
				       const Standard_Real V2) {

  pt = Pt;
  u1 = U1;
  v1 = V1;
  u2 = U2;
  v2 = V2;
}

inline void IntSurf_PntOn2S::SetValue (const Standard_Real U1,
				       const Standard_Real V1,
				       const Standard_Real U2,
				       const Standard_Real V2) {
  u1 = U1;
  v1 = V1;
  u2 = U2;
  v2 = V2;
}


inline const gp_Pnt& IntSurf_PntOn2S::Value () const {

  return pt;
}


inline void IntSurf_PntOn2S::ParametersOnS1 (Standard_Real& U1,
					     Standard_Real& V1) const
{
  U1 = u1;
  V1 = v1;
}


inline void IntSurf_PntOn2S::ParametersOnS2 (Standard_Real& U2,
					     Standard_Real& V2) const
{
  U2 = u2;
  V2 = v2;
}

inline void IntSurf_PntOn2S::Parameters (Standard_Real& U1,
					 Standard_Real& V1,
					 Standard_Real& U2,
					 Standard_Real& V2) const
{
  U1 = u1;
  V1 = v1;
  U2 = u2;
  V2 = v2;
}