b311480e |
1 | // Created on: 1998-04-10 |
2 | // Created by: Andre LIEUTIER |
3 | // Copyright (c) 1998-1999 Matra Datavision |
4 | // Copyright (c) 1999-2012 OPEN CASCADE SAS |
5 | // |
6 | // The content of this file is subject to the Open CASCADE Technology Public |
7 | // License Version 6.5 (the "License"). You may not use the content of this file |
8 | // except in compliance with the License. Please obtain a copy of the License |
9 | // at http://www.opencascade.org and read it completely before using this file. |
10 | // |
11 | // The Initial Developer of the Original Code is Open CASCADE S.A.S., having its |
12 | // main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. |
13 | // |
14 | // The Original Code and all software distributed under the License is |
15 | // distributed on an "AS IS" basis, without warranty of any kind, and the |
16 | // Initial Developer hereby disclaims all such warranties, including without |
17 | // limitation, any warranties of merchantability, fitness for a particular |
18 | // purpose or non-infringement. Please see the License for the specific terms |
19 | // and conditions governing the rights and limitations under the License. |
20 | |
7fd59977 |
21 | |
22 | |
23 | #include <NLPlate_HGPPConstraint.ixx> |
24 | |
25 | |
b311480e |
26 | void NLPlate_HGPPConstraint::SetUVFreeSliding(const Standard_Boolean UVFree) |
7fd59977 |
27 | { |
28 | } |
29 | |
30 | void NLPlate_HGPPConstraint::SetIncrementalLoadAllowed(const Standard_Boolean ILA) |
31 | { |
32 | } |
33 | |
34 | void NLPlate_HGPPConstraint::SetActiveOrder(const Standard_Integer ActiveOrder) |
35 | { |
36 | myActiveOrder = ActiveOrder; |
37 | } |
38 | |
39 | void NLPlate_HGPPConstraint::SetUV(const gp_XY& UV) |
40 | { |
41 | myUV = UV; |
42 | } |
43 | void NLPlate_HGPPConstraint::SetOrientation(const Standard_Integer Orient) |
44 | { |
45 | } |
46 | |
47 | void NLPlate_HGPPConstraint::SetG0Criterion(const Standard_Real TolDist) |
48 | { |
49 | } |
50 | |
51 | void NLPlate_HGPPConstraint::SetG1Criterion(const Standard_Real TolAng) |
52 | { |
53 | } |
54 | |
55 | void NLPlate_HGPPConstraint::SetG2Criterion(const Standard_Real TolCurv) |
56 | { |
57 | } |
58 | |
59 | void NLPlate_HGPPConstraint::SetG3Criterion(const Standard_Real TolG3) |
60 | { |
61 | } |
62 | |
63 | Standard_Boolean NLPlate_HGPPConstraint::UVFreeSliding() const |
64 | { |
65 | return Standard_False; |
66 | } |
67 | |
68 | Standard_Boolean NLPlate_HGPPConstraint::IncrementalLoadAllowed() const |
69 | { |
70 | return Standard_False; |
71 | } |
72 | |
73 | const gp_XY& NLPlate_HGPPConstraint::UV() const |
74 | { |
75 | return myUV; |
76 | } |
77 | |
78 | static const gp_XYZ XYZnull(0.,0.,0.); |
79 | const gp_XYZ& NLPlate_HGPPConstraint::G0Target() const |
80 | { |
81 | return XYZnull; |
82 | //cette methode ne devrait pas etre appelee |
83 | } |
84 | |
85 | static const Plate_D1 D1null(XYZnull,XYZnull); |
86 | const Plate_D1& NLPlate_HGPPConstraint::G1Target() const |
87 | { |
88 | return D1null; |
89 | //cette methode ne devrait pas etre appelee |
90 | } |
91 | |
92 | static const Plate_D2 D2null(XYZnull,XYZnull,XYZnull); |
93 | const Plate_D2& NLPlate_HGPPConstraint::G2Target() const |
94 | { |
95 | return D2null; |
96 | //cette methode ne devrait pas etre appelee |
97 | } |
98 | |
99 | static const Plate_D3 D3null(XYZnull,XYZnull,XYZnull,XYZnull); |
100 | const Plate_D3& NLPlate_HGPPConstraint::G3Target() const |
101 | { |
102 | return D3null; |
103 | //cette methode ne devrait pas etre applee |
104 | } |
105 | |
106 | Standard_Integer NLPlate_HGPPConstraint::Orientation() |
107 | { |
108 | return 0; |
109 | } |
110 | Standard_Real NLPlate_HGPPConstraint::G0Criterion() const |
111 | { |
112 | return 0.; |
113 | } |
114 | |
115 | Standard_Real NLPlate_HGPPConstraint::G1Criterion() const |
116 | { |
117 | return 0.; |
118 | } |
119 | |
120 | Standard_Real NLPlate_HGPPConstraint::G2Criterion() const |
121 | { |
122 | return 0.; |
123 | } |
124 | |
125 | Standard_Real NLPlate_HGPPConstraint::G3Criterion() const |
126 | { |
127 | return 0.; |
128 | } |
129 | |
130 | |