b311480e |
1 | // Copyright (c) 1995-1999 Matra Datavision |
973c2be1 |
2 | // Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e |
3 | // |
973c2be1 |
4 | // This file is part of Open CASCADE Technology software library. |
b311480e |
5 | // |
d5f74e42 |
6 | // This library is free software; you can redistribute it and/or modify it under |
7 | // the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
8 | // by the Free Software Foundation, with special exception defined in the file |
9 | // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
10 | // distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
11 | // |
973c2be1 |
12 | // Alternatively, this file may be used under the terms of Open CASCADE |
13 | // commercial license or contractual agreement. |
b311480e |
14 | |
7fd59977 |
15 | inline void IntSurf_PntOn2S::SetValue (const gp_Pnt& Pt ) { |
16 | |
17 | pt = Pt; |
18 | } |
19 | |
20 | |
21 | inline void IntSurf_PntOn2S::SetValue (const gp_Pnt& Pt, |
22 | const Standard_Real U1, |
23 | const Standard_Real V1, |
24 | const Standard_Real U2, |
25 | const Standard_Real V2) { |
26 | |
27 | pt = Pt; |
28 | u1 = U1; |
29 | v1 = V1; |
30 | u2 = U2; |
31 | v2 = V2; |
32 | } |
33 | |
34 | inline void IntSurf_PntOn2S::SetValue (const Standard_Real U1, |
35 | const Standard_Real V1, |
36 | const Standard_Real U2, |
37 | const Standard_Real V2) { |
38 | u1 = U1; |
39 | v1 = V1; |
40 | u2 = U2; |
41 | v2 = V2; |
42 | } |
43 | |
44 | |
45 | inline const gp_Pnt& IntSurf_PntOn2S::Value () const { |
46 | |
47 | return pt; |
48 | } |
49 | |
50 | |
51 | inline void IntSurf_PntOn2S::ParametersOnS1 (Standard_Real& U1, |
52 | Standard_Real& V1) const |
53 | { |
54 | U1 = u1; |
55 | V1 = v1; |
56 | } |
57 | |
58 | |
59 | inline void IntSurf_PntOn2S::ParametersOnS2 (Standard_Real& U2, |
60 | Standard_Real& V2) const |
61 | { |
62 | U2 = u2; |
63 | V2 = v2; |
64 | } |
65 | |
66 | inline void IntSurf_PntOn2S::Parameters (Standard_Real& U1, |
67 | Standard_Real& V1, |
68 | Standard_Real& U2, |
69 | Standard_Real& V2) const |
70 | { |
71 | U1 = u1; |
72 | V1 = v1; |
73 | U2 = u2; |
74 | V2 = v2; |
75 | } |
76 | |
77 | |
78 | |