blob: dbd63862bc086640677def6e0ba34dc6505eb001 (
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
|
#include <IntSurf_PntOn2S.ixx>
IntSurf_PntOn2S::IntSurf_PntOn2S () : pt(0,0,0),u1(0),v1(0),u2(0),v2(0) {};
void IntSurf_PntOn2S::SetValue (const gp_Pnt& Pt,
const Standard_Boolean OnFirst,
const Standard_Real U,
const Standard_Real V) {
pt = Pt;
if (OnFirst) {
u1 = U;
v1 = V;
}
else {
u2 = U;
v2 = V;
}
}
void IntSurf_PntOn2S::SetValue (const Standard_Boolean OnFirst,
const Standard_Real U,
const Standard_Real V) {
if (OnFirst) {
u1 = U;
v1 = V;
}
else {
u2 = U;
v2 = V;
}
}
|