b311480e |
1 | // Created on: 1996-07-02 |
2 | // Created by: Joelle CHAUVET |
3 | // Copyright (c) 1996-1999 Matra Datavision |
973c2be1 |
4 | // Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e |
5 | // |
973c2be1 |
6 | // This file is part of Open CASCADE Technology software library. |
b311480e |
7 | // |
d5f74e42 |
8 | // This library is free software; you can redistribute it and/or modify it under |
9 | // the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
10 | // by the Free Software Foundation, with special exception defined in the file |
11 | // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
12 | // distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
13 | // |
973c2be1 |
14 | // Alternatively, this file may be used under the terms of Open CASCADE |
15 | // commercial license or contractual agreement. |
7fd59977 |
16 | |
42cf5bc1 |
17 | #include <AdvApp2Var_Node.hxx> |
158f2931 |
18 | |
19 | IMPLEMENT_STANDARD_RTTIEXT(AdvApp2Var_Node, Standard_Transient) |
7fd59977 |
20 | |
7fd59977 |
21 | //======================================================================= |
22 | //function : AdvApp2Var_Node |
23 | //purpose : |
24 | //======================================================================= |
158f2931 |
25 | AdvApp2Var_Node::AdvApp2Var_Node() |
26 | : myTruePoints(0, 2, 0, 2), |
27 | myErrors (0, 2, 0, 2), |
28 | myOrdInU (2), |
29 | myOrdInV (2) |
7fd59977 |
30 | { |
7fd59977 |
31 | gp_Pnt P0(0.,0.,0.); |
158f2931 |
32 | myTruePoints.Init(P0); |
33 | myErrors.Init(0.); |
7fd59977 |
34 | } |
35 | |
36 | //======================================================================= |
37 | //function : AdvApp2Var_Node |
38 | //purpose : |
39 | //======================================================================= |
40 | |
41 | AdvApp2Var_Node::AdvApp2Var_Node(const Standard_Integer iu, |
158f2931 |
42 | const Standard_Integer iv) |
43 | : myTruePoints(0, Max(0,iu), 0, Max(0,iv)), |
44 | myErrors (0, Max(0,iu), 0, Max(0,iv)), |
45 | myOrdInU (iu), |
46 | myOrdInV (iv) |
7fd59977 |
47 | { |
7fd59977 |
48 | gp_Pnt P0(0.,0.,0.); |
158f2931 |
49 | myTruePoints.Init(P0); |
50 | myErrors.Init(0.); |
7fd59977 |
51 | } |
52 | |
53 | //======================================================================= |
54 | //function : AdvApp2Var_Node |
55 | //purpose : |
56 | //======================================================================= |
57 | |
58 | AdvApp2Var_Node::AdvApp2Var_Node(const gp_XY& UV, |
59 | const Standard_Integer iu, |
158f2931 |
60 | const Standard_Integer iv) |
61 | : myTruePoints(0, iu, 0, iv), |
62 | myErrors (0, iu, 0, iv), |
63 | myCoord (UV), |
64 | myOrdInU(iu), |
65 | myOrdInV(iv) |
7fd59977 |
66 | { |
7fd59977 |
67 | gp_Pnt P0(0.,0.,0.); |
158f2931 |
68 | myTruePoints.Init(P0); |
69 | myErrors.Init(0.); |
7fd59977 |
70 | } |