b311480e |
1 | // Created on: 1998-04-10 |
2 | // Created by: Andre LIEUTIER |
3 | // Copyright (c) 1998-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 | |
17 | #include <NLPlate_HGPPConstraint.ixx> |
18 | |
19 | |
35e08fe8 |
20 | void NLPlate_HGPPConstraint::SetUVFreeSliding(const Standard_Boolean) |
7fd59977 |
21 | { |
22 | } |
23 | |
35e08fe8 |
24 | void NLPlate_HGPPConstraint::SetIncrementalLoadAllowed(const Standard_Boolean ) |
7fd59977 |
25 | { |
26 | } |
27 | |
28 | void NLPlate_HGPPConstraint::SetActiveOrder(const Standard_Integer ActiveOrder) |
29 | { |
30 | myActiveOrder = ActiveOrder; |
31 | } |
32 | |
33 | void NLPlate_HGPPConstraint::SetUV(const gp_XY& UV) |
34 | { |
35 | myUV = UV; |
36 | } |
35e08fe8 |
37 | void NLPlate_HGPPConstraint::SetOrientation(const Standard_Integer /*Orient*/) |
7fd59977 |
38 | { |
39 | } |
40 | |
35e08fe8 |
41 | void NLPlate_HGPPConstraint::SetG0Criterion(const Standard_Real /*TolDist*/) |
7fd59977 |
42 | { |
43 | } |
44 | |
35e08fe8 |
45 | void NLPlate_HGPPConstraint::SetG1Criterion(const Standard_Real /*TolAng*/) |
7fd59977 |
46 | { |
47 | } |
48 | |
35e08fe8 |
49 | void NLPlate_HGPPConstraint::SetG2Criterion(const Standard_Real /*TolCurv*/) |
7fd59977 |
50 | { |
51 | } |
52 | |
35e08fe8 |
53 | void NLPlate_HGPPConstraint::SetG3Criterion(const Standard_Real /*TolG3*/) |
7fd59977 |
54 | { |
55 | } |
56 | |
57 | Standard_Boolean NLPlate_HGPPConstraint::UVFreeSliding() const |
58 | { |
59 | return Standard_False; |
60 | } |
61 | |
62 | Standard_Boolean NLPlate_HGPPConstraint::IncrementalLoadAllowed() const |
63 | { |
64 | return Standard_False; |
65 | } |
66 | |
67 | const gp_XY& NLPlate_HGPPConstraint::UV() const |
68 | { |
69 | return myUV; |
70 | } |
71 | |
72 | static const gp_XYZ XYZnull(0.,0.,0.); |
73 | const gp_XYZ& NLPlate_HGPPConstraint::G0Target() const |
74 | { |
75 | return XYZnull; |
76 | //cette methode ne devrait pas etre appelee |
77 | } |
78 | |
79 | static const Plate_D1 D1null(XYZnull,XYZnull); |
80 | const Plate_D1& NLPlate_HGPPConstraint::G1Target() const |
81 | { |
82 | return D1null; |
83 | //cette methode ne devrait pas etre appelee |
84 | } |
85 | |
86 | static const Plate_D2 D2null(XYZnull,XYZnull,XYZnull); |
87 | const Plate_D2& NLPlate_HGPPConstraint::G2Target() const |
88 | { |
89 | return D2null; |
90 | //cette methode ne devrait pas etre appelee |
91 | } |
92 | |
93 | static const Plate_D3 D3null(XYZnull,XYZnull,XYZnull,XYZnull); |
94 | const Plate_D3& NLPlate_HGPPConstraint::G3Target() const |
95 | { |
96 | return D3null; |
97 | //cette methode ne devrait pas etre applee |
98 | } |
99 | |
100 | Standard_Integer NLPlate_HGPPConstraint::Orientation() |
101 | { |
102 | return 0; |
103 | } |
104 | Standard_Real NLPlate_HGPPConstraint::G0Criterion() const |
105 | { |
106 | return 0.; |
107 | } |
108 | |
109 | Standard_Real NLPlate_HGPPConstraint::G1Criterion() const |
110 | { |
111 | return 0.; |
112 | } |
113 | |
114 | Standard_Real NLPlate_HGPPConstraint::G2Criterion() const |
115 | { |
116 | return 0.; |
117 | } |
118 | |
119 | Standard_Real NLPlate_HGPPConstraint::G3Criterion() const |
120 | { |
121 | return 0.; |
122 | } |
123 | |
124 | |