4d481dc17ec9593cd4d6b22dac0a1a42e8ec76f0
1 Temporarily push back methods which have been removed between 6.3.0 and 6.5.0
3 Many classes in OCC 6.3.O did provide a method Value(), which
4 have been replaced by SquareDistance() in OCC 6.5.0.
5 These methods seem to be commonly used, we provide a temporary alias
6 to help smooth upgrades to 6.5.0.
8 Few other aliases are also added, but note that this patch is transient
9 and will be removed when all packages are ported to 6.5.0
12 Index: opencascade/ros/inc/Extrema_GenExtPS.hxx
13 ===================================================================
14 --- opencascade.orig/ros/inc/Extrema_GenExtPS.hxx
15 +++ opencascade/ros/inc/Extrema_GenExtPS.hxx
16 @@ -106,6 +106,8 @@
20 +// DEBIAN SPECIFIC CHANGE: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
21 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
24 protected:
25 Index: opencascade/ros/inc/BRepExtrema_ExtCC.hxx
26 ===================================================================
27 --- opencascade.orig/ros/inc/BRepExtrema_ExtCC.hxx
28 +++ opencascade/ros/inc/BRepExtrema_ExtCC.hxx
29 @@ -90,6 +90,10 @@
33 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
34 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
35 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, TrimmedDistances() has been replaced by TrimmedSquareDistances(). Add an alias to not break existing code
36 +void TrimmedDistances(Standard_Real& dist11,Standard_Real& distP12,Standard_Real& distP21,Standard_Real& distP22,gp_Pnt& P11,gp_Pnt& P12,gp_Pnt& P21,gp_Pnt& P22) const { Standard_Real xdist11, xdistP12, xdistP21, xdistP22; TrimmedSquareDistances(xdist11, xdistP12, xdistP21, xdistP22, P11, P12, P21, P22); dist11=sqrt(xdist11); distP12=sqrt(xdistP12); distP21=sqrt(xdistP21); distP22=sqrt(xdistP22); }
39 protected:
40 Index: opencascade/ros/inc/BRepExtrema_ExtCF.hxx
41 ===================================================================
42 --- opencascade.orig/ros/inc/BRepExtrema_ExtCF.hxx
43 +++ opencascade/ros/inc/BRepExtrema_ExtCF.hxx
44 @@ -95,6 +95,8 @@
48 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
49 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
52 protected:
53 Index: opencascade/ros/inc/BRepExtrema_ExtFF.hxx
54 ===================================================================
55 --- opencascade.orig/ros/inc/BRepExtrema_ExtFF.hxx
56 +++ opencascade/ros/inc/BRepExtrema_ExtFF.hxx
57 @@ -91,6 +91,8 @@
61 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
62 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
65 protected:
66 Index: opencascade/ros/inc/BRepExtrema_ExtPC.hxx
67 ===================================================================
68 --- opencascade.orig/ros/inc/BRepExtrema_ExtPC.hxx
69 +++ opencascade/ros/inc/BRepExtrema_ExtPC.hxx
70 @@ -87,6 +87,10 @@
74 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
75 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
76 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, TrimmedDistances() has been replaced by TrimmedSquareDistances(). Add an alias to not break existing code
77 +void TrimmedDistances(Standard_Real& dist1,Standard_Real& dist2,gp_Pnt& pnt1,gp_Pnt& pnt2) const { Standard_Real xdist1, xdist2; TrimmedSquareDistances(xdist1, xdist2, pnt1, pnt2); dist1 = sqrt(xdist1); dist2 = sqrt(xdist2); }
79 protected:
81 Index: opencascade/ros/inc/BRepExtrema_ExtPF.hxx
82 ===================================================================
83 --- opencascade.orig/ros/inc/BRepExtrema_ExtPF.hxx
84 +++ opencascade/ros/inc/BRepExtrema_ExtPF.hxx
85 @@ -85,6 +85,8 @@
89 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
90 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
92 protected:
94 Index: opencascade/ros/inc/BRepMesh_DataStructureOfDelaun.hxx
95 ===================================================================
96 --- opencascade.orig/ros/inc/BRepMesh_DataStructureOfDelaun.hxx
97 +++ opencascade/ros/inc/BRepMesh_DataStructureOfDelaun.hxx
98 @@ -146,6 +146,9 @@
99 Standard_EXPORT const MeshDS_BaseAllocator& Allocator() const;
102 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, typos in ForseRemoveNode() and ForceRemoveLink() have been fixed. Add an alias to not break existing code
103 +void ForseRemoveNode(const Standard_Integer Index) { ForceRemoveNode(Index); }
104 +void ForseRemoveLink(const Standard_Integer Index) { ForceRemoveLink(Index); }
107 DEFINE_STANDARD_RTTI(BRepMesh_DataStructureOfDelaun)
108 Index: opencascade/ros/inc/Extrema_ECC2dOfExtCC2d.hxx
109 ===================================================================
110 --- opencascade.orig/ros/inc/Extrema_ECC2dOfExtCC2d.hxx
111 +++ opencascade/ros/inc/Extrema_ECC2dOfExtCC2d.hxx
112 @@ -85,6 +85,8 @@
116 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
117 +Standard_Real Value(const Standard_Integer N = 1) const { return sqrt(SquareDistance(N)); }
120 protected:
121 Index: opencascade/ros/inc/Extrema_ECCOfExtCC.hxx
122 ===================================================================
123 --- opencascade.orig/ros/inc/Extrema_ECCOfExtCC.hxx
124 +++ opencascade/ros/inc/Extrema_ECCOfExtCC.hxx
125 @@ -85,6 +85,8 @@
129 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
130 +Standard_Real Value(const Standard_Integer N = 1) const { return sqrt(SquareDistance(N)); }
133 protected:
134 Index: opencascade/ros/inc/Extrema_ELCC2dOfLocateExtCC2d.hxx
135 ===================================================================
136 --- opencascade.orig/ros/inc/Extrema_ELCC2dOfLocateExtCC2d.hxx
137 +++ opencascade/ros/inc/Extrema_ELCC2dOfLocateExtCC2d.hxx
138 @@ -85,6 +85,8 @@
142 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
143 +Standard_Real Value(const Standard_Integer N = 1) const { return sqrt(SquareDistance(N)); }
146 protected:
147 Index: opencascade/ros/inc/Extrema_ELCCOfLocateExtCC.hxx
148 ===================================================================
149 --- opencascade.orig/ros/inc/Extrema_ELCCOfLocateExtCC.hxx
150 +++ opencascade/ros/inc/Extrema_ELCCOfLocateExtCC.hxx
151 @@ -85,6 +85,8 @@
155 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
156 +Standard_Real Value(const Standard_Integer N = 1) const { return sqrt(SquareDistance(N)); }
159 protected:
160 Index: opencascade/ros/inc/Extrema_ELPCOfLocateExtPC.hxx
161 ===================================================================
162 --- opencascade.orig/ros/inc/Extrema_ELPCOfLocateExtPC.hxx
163 +++ opencascade/ros/inc/Extrema_ELPCOfLocateExtPC.hxx
164 @@ -102,6 +102,10 @@
168 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
169 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
170 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, TrimmedDistances() has been replaced by TrimmedSquareDistances(). Add an alias to not break existing code
171 +void TrimmedDistances(Standard_Real& dist1,Standard_Real& dist2,gp_Pnt& P1,gp_Pnt& P2) const { Standard_Real xdist1, xdist2; TrimmedSquareDistances(xdist1, xdist2, P1, P2); dist1 = sqrt(xdist1); dist2 = sqrt(xdist2); }
174 protected:
175 Index: opencascade/ros/inc/Extrema_ELPCOfLocateExtPC2d.hxx
176 ===================================================================
177 --- opencascade.orig/ros/inc/Extrema_ELPCOfLocateExtPC2d.hxx
178 +++ opencascade/ros/inc/Extrema_ELPCOfLocateExtPC2d.hxx
179 @@ -102,6 +102,10 @@
183 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
184 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
185 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, TrimmedDistances() has been replaced by TrimmedSquareDistances(). Add an alias to not break existing code
186 +void TrimmedDistances(Standard_Real& dist1,Standard_Real& dist2,gp_Pnt2d& P1,gp_Pnt2d& P2) const { Standard_Real xdist1, xdist2; TrimmedSquareDistances(xdist1, xdist2, P1, P2); dist1 = sqrt(xdist1); dist2 = sqrt(xdist2); }
189 protected:
190 Index: opencascade/ros/inc/Extrema_EPCOfELPCOfLocateExtPC.hxx
191 ===================================================================
192 --- opencascade.orig/ros/inc/Extrema_EPCOfELPCOfLocateExtPC.hxx
193 +++ opencascade/ros/inc/Extrema_EPCOfELPCOfLocateExtPC.hxx
194 @@ -83,6 +83,8 @@
198 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
199 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
202 protected:
203 Index: opencascade/ros/inc/Extrema_EPCOfELPCOfLocateExtPC2d.hxx
204 ===================================================================
205 --- opencascade.orig/ros/inc/Extrema_EPCOfELPCOfLocateExtPC2d.hxx
206 +++ opencascade/ros/inc/Extrema_EPCOfELPCOfLocateExtPC2d.hxx
207 @@ -83,6 +83,8 @@
211 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
212 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
215 protected:
216 Index: opencascade/ros/inc/Extrema_EPCOfExtPC.hxx
217 ===================================================================
218 --- opencascade.orig/ros/inc/Extrema_EPCOfExtPC.hxx
219 +++ opencascade/ros/inc/Extrema_EPCOfExtPC.hxx
220 @@ -82,6 +82,8 @@
221 Standard_EXPORT Extrema_POnCurv Point(const Standard_Integer N) const;
224 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
225 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
229 Index: opencascade/ros/inc/Extrema_EPCOfExtPC2d.hxx
230 ===================================================================
231 --- opencascade.orig/ros/inc/Extrema_EPCOfExtPC2d.hxx
232 +++ opencascade/ros/inc/Extrema_EPCOfExtPC2d.hxx
233 @@ -82,6 +82,8 @@
234 Standard_EXPORT Extrema_POnCurv2d Point(const Standard_Integer N) const;
237 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
238 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
242 Index: opencascade/ros/inc/Extrema_ExtCC.hxx
243 ===================================================================
244 --- opencascade.orig/ros/inc/Extrema_ExtCC.hxx
245 +++ opencascade/ros/inc/Extrema_ExtCC.hxx
246 @@ -104,6 +104,10 @@
250 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
251 +Standard_Real Value(const Standard_Integer N = 1) const { return sqrt(SquareDistance(N)); }
252 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, TrimmedDistances() has been replaced by TrimmedSquareDistances(). Add an alias to not break existing code
253 +void TrimmedDistances(Standard_Real& dist11,Standard_Real& distP12,Standard_Real& distP21,Standard_Real& distP22,gp_Pnt& P11,gp_Pnt& P12,gp_Pnt& P21,gp_Pnt& P22) const { Standard_Real xdist11, xdistP12, xdistP21, xdistP22; TrimmedSquareDistances(xdist11, xdistP12, xdistP21, xdistP22, P11, P12, P21, P22); dist11 = sqrt(xdist11); xdistP12 = sqrt(distP12); distP21 = sqrt(xdistP21); distP22 = sqrt(xdistP22); }
256 protected:
257 Index: opencascade/ros/inc/Extrema_ExtCC2d.hxx
258 ===================================================================
259 --- opencascade.orig/ros/inc/Extrema_ExtCC2d.hxx
260 +++ opencascade/ros/inc/Extrema_ExtCC2d.hxx
261 @@ -92,6 +92,10 @@
265 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
266 +Standard_Real Value(const Standard_Integer N = 1) const { return sqrt(SquareDistance(N)); }
267 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, TrimmedDistances() has been replaced by TrimmedSquareDistances(). Add an alias to not break existing code
268 +void TrimmedDistances(Standard_Real& dist11,Standard_Real& distP12,Standard_Real& distP21,Standard_Real& distP22,gp_Pnt2d& P11,gp_Pnt2d& P12,gp_Pnt2d& P21,gp_Pnt2d& P22) const { Standard_Real xdist11, xdistP12, xdistP21, xdistP22; TrimmedSquareDistances(xdist11, xdistP12, xdistP21, xdistP22, P11, P12, P21, P22); dist11 = sqrt(xdist11); xdistP12 = sqrt(distP12); distP21 = sqrt(xdistP21); distP22 = sqrt(xdistP22);}
271 protected:
272 Index: opencascade/ros/inc/Extrema_ExtCS.hxx
273 ===================================================================
274 --- opencascade.orig/ros/inc/Extrema_ExtCS.hxx
275 +++ opencascade/ros/inc/Extrema_ExtCS.hxx
276 @@ -95,6 +95,8 @@
280 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
281 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
284 protected:
285 Index: opencascade/ros/inc/Extrema_ExtElC.hxx
286 ===================================================================
287 --- opencascade.orig/ros/inc/Extrema_ExtElC.hxx
288 +++ opencascade/ros/inc/Extrema_ExtElC.hxx
289 @@ -117,6 +117,8 @@
293 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
294 +Standard_Real Value(const Standard_Integer N = 1) const { return sqrt(SquareDistance(N)); }
297 protected:
298 Index: opencascade/ros/inc/Extrema_ExtElC2d.hxx
299 ===================================================================
300 --- opencascade.orig/ros/inc/Extrema_ExtElC2d.hxx
301 +++ opencascade/ros/inc/Extrema_ExtElC2d.hxx
302 @@ -117,6 +117,8 @@
306 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
307 +Standard_Real Value(const Standard_Integer N = 1) const { return sqrt(SquareDistance(N)); }
310 protected:
311 Index: opencascade/ros/inc/Extrema_ExtElCS.hxx
312 ===================================================================
313 --- opencascade.orig/ros/inc/Extrema_ExtElCS.hxx
314 +++ opencascade/ros/inc/Extrema_ExtElCS.hxx
315 @@ -139,6 +139,8 @@
319 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
320 +Standard_Real Value(const Standard_Integer N = 1) const { return sqrt(SquareDistance(N)); }
323 protected:
324 Index: opencascade/ros/inc/Extrema_ExtElSS.hxx
325 ===================================================================
326 --- opencascade.orig/ros/inc/Extrema_ExtElSS.hxx
327 +++ opencascade/ros/inc/Extrema_ExtElSS.hxx
328 @@ -106,6 +106,8 @@
332 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
333 +Standard_Real Value(const Standard_Integer N = 1) const { return sqrt(SquareDistance(N)); }
336 protected:
337 Index: opencascade/ros/inc/Extrema_ExtPC.hxx
338 ===================================================================
339 --- opencascade.orig/ros/inc/Extrema_ExtPC.hxx
340 +++ opencascade/ros/inc/Extrema_ExtPC.hxx
341 @@ -102,6 +102,10 @@
345 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
346 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
347 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, TrimmedDistances() has been replaced by TrimmedSquareDistances(). Add an alias to not break existing code
348 +void TrimmedDistances(Standard_Real& dist1,Standard_Real& dist2,gp_Pnt& P1,gp_Pnt& P2) const { Standard_Real xdist1, xdist2; TrimmedSquareDistances(xdist1, xdist2, P1, P2); dist1 = sqrt(xdist1); dist2 = sqrt(xdist2); }
351 protected:
352 Index: opencascade/ros/inc/Extrema_ExtPC2d.hxx
353 ===================================================================
354 --- opencascade.orig/ros/inc/Extrema_ExtPC2d.hxx
355 +++ opencascade/ros/inc/Extrema_ExtPC2d.hxx
356 @@ -102,6 +102,10 @@
360 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
361 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
362 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, TrimmedDistances() has been replaced by TrimmedSquareDistances(). Add an alias to not break existing code
363 +void TrimmedDistances(Standard_Real& dist1,Standard_Real& dist2,gp_Pnt2d& P1,gp_Pnt2d& P2) const { Standard_Real xdist1, xdist2; TrimmedSquareDistances(xdist1, xdist2, P1, P2); dist1 = sqrt(xdist1); dist2 = sqrt(xdist2); }
366 protected:
367 Index: opencascade/ros/inc/Extrema_ExtPElC.hxx
368 ===================================================================
369 --- opencascade.orig/ros/inc/Extrema_ExtPElC.hxx
370 +++ opencascade/ros/inc/Extrema_ExtPElC.hxx
371 @@ -123,6 +123,8 @@
375 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
376 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
379 protected:
380 Index: opencascade/ros/inc/Extrema_ExtPElC2d.hxx
381 ===================================================================
382 --- opencascade.orig/ros/inc/Extrema_ExtPElC2d.hxx
383 +++ opencascade/ros/inc/Extrema_ExtPElC2d.hxx
384 @@ -123,6 +123,8 @@
388 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
389 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
392 protected:
393 Index: opencascade/ros/inc/Extrema_ExtPElS.hxx
394 ===================================================================
395 --- opencascade.orig/ros/inc/Extrema_ExtPElS.hxx
396 +++ opencascade/ros/inc/Extrema_ExtPElS.hxx
397 @@ -99,6 +99,8 @@
401 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
402 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
405 protected:
406 Index: opencascade/ros/inc/Extrema_ExtPExtS.hxx
407 ===================================================================
408 --- opencascade.orig/ros/inc/Extrema_ExtPExtS.hxx
409 +++ opencascade/ros/inc/Extrema_ExtPExtS.hxx
410 @@ -94,6 +94,8 @@
414 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
415 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
418 protected:
419 Index: opencascade/ros/inc/Extrema_ExtPRevS.hxx
420 ===================================================================
421 --- opencascade.orig/ros/inc/Extrema_ExtPRevS.hxx
422 +++ opencascade/ros/inc/Extrema_ExtPRevS.hxx
423 @@ -83,6 +83,8 @@
427 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
428 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
431 protected:
432 Index: opencascade/ros/inc/Extrema_ExtPS.hxx
433 ===================================================================
434 --- opencascade.orig/ros/inc/Extrema_ExtPS.hxx
435 +++ opencascade/ros/inc/Extrema_ExtPS.hxx
436 @@ -117,6 +117,10 @@
440 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
441 +Standard_Real Value(const Standard_Integer N = 1) const { return sqrt(SquareDistance(N)); }
442 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, TrimmedDistances() has been replaced by TrimmedSquareDistances(). Add an alias to not break existing code
443 +void TrimmedDistances(Standard_Real& dUfVf,Standard_Real& dUfVl,Standard_Real& dUlVf,Standard_Real& dUlVl,gp_Pnt& PUfVf,gp_Pnt& PUfVl,gp_Pnt& PUlVf,gp_Pnt& PUlVl) const { Standard_Real xdUfVf, xdUfVl, xdUlVf, xdUlVl; TrimmedSquareDistances(xdUfVf, xdUfVl, xdUlVf, xdUlVl, PUfVf, PUfVl, PUlVf, PUlVl); dUfVf = sqrt(xdUfVf); dUfVl = sqrt(xdUfVl); dUlVf = sqrt(xdUlVf); dUlVl = sqrt(xdUlVl); }
446 protected:
447 Index: opencascade/ros/inc/Extrema_ExtSS.hxx
448 ===================================================================
449 --- opencascade.orig/ros/inc/Extrema_ExtSS.hxx
450 +++ opencascade/ros/inc/Extrema_ExtSS.hxx
451 @@ -88,6 +88,8 @@
455 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
456 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
459 protected:
460 Index: opencascade/ros/inc/Extrema_GenExtCS.hxx
461 ===================================================================
462 --- opencascade.orig/ros/inc/Extrema_GenExtCS.hxx
463 +++ opencascade/ros/inc/Extrema_GenExtCS.hxx
464 @@ -110,6 +110,8 @@
468 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
469 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
472 protected:
473 Index: opencascade/ros/inc/Extrema_GenExtSS.hxx
474 ===================================================================
475 --- opencascade.orig/ros/inc/Extrema_GenExtSS.hxx
476 +++ opencascade/ros/inc/Extrema_GenExtSS.hxx
477 @@ -101,6 +101,8 @@
481 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
482 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
485 protected:
486 Index: opencascade/ros/inc/Extrema_GenLocateExtCS.hxx
487 ===================================================================
488 --- opencascade.orig/ros/inc/Extrema_GenLocateExtCS.hxx
489 +++ opencascade/ros/inc/Extrema_GenLocateExtCS.hxx
490 @@ -74,6 +74,8 @@
494 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
495 +Standard_Real Value() const { return sqrt(SquareDistance()); }
498 protected:
499 Index: opencascade/ros/inc/Extrema_GenLocateExtPS.hxx
500 ===================================================================
501 --- opencascade.orig/ros/inc/Extrema_GenLocateExtPS.hxx
502 +++ opencascade/ros/inc/Extrema_GenLocateExtPS.hxx
503 @@ -66,6 +66,8 @@
507 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
508 +Standard_Real Value() const { return sqrt(SquareDistance()); }
511 protected:
512 Index: opencascade/ros/inc/Extrema_GenLocateExtSS.hxx
513 ===================================================================
514 --- opencascade.orig/ros/inc/Extrema_GenLocateExtSS.hxx
515 +++ opencascade/ros/inc/Extrema_GenLocateExtSS.hxx
516 @@ -69,6 +69,8 @@
520 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
521 +Standard_Real Value() const { return sqrt(SquareDistance()); }
524 protected:
525 Index: opencascade/ros/inc/Extrema_LocECC2dOfLocateExtCC2d.hxx
526 ===================================================================
527 --- opencascade.orig/ros/inc/Extrema_LocECC2dOfLocateExtCC2d.hxx
528 +++ opencascade/ros/inc/Extrema_LocECC2dOfLocateExtCC2d.hxx
529 @@ -61,6 +61,8 @@
533 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
534 +Standard_Real Value() const { return sqrt(SquareDistance()); }
537 protected:
538 Index: opencascade/ros/inc/Extrema_LocECCOfLocateExtCC.hxx
539 ===================================================================
540 --- opencascade.orig/ros/inc/Extrema_LocECCOfLocateExtCC.hxx
541 +++ opencascade/ros/inc/Extrema_LocECCOfLocateExtCC.hxx
542 @@ -61,6 +61,8 @@
546 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
547 +Standard_Real Value() const { return sqrt(SquareDistance()); }
550 protected:
551 Index: opencascade/ros/inc/Extrema_LocEPCOfLocateExtPC.hxx
552 ===================================================================
553 --- opencascade.orig/ros/inc/Extrema_LocEPCOfLocateExtPC.hxx
554 +++ opencascade/ros/inc/Extrema_LocEPCOfLocateExtPC.hxx
555 @@ -72,6 +72,8 @@
559 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
560 +Standard_Real Value() const { return sqrt(SquareDistance()); }
563 protected:
564 Index: opencascade/ros/inc/Extrema_LocEPCOfLocateExtPC2d.hxx
565 ===================================================================
566 --- opencascade.orig/ros/inc/Extrema_LocEPCOfLocateExtPC2d.hxx
567 +++ opencascade/ros/inc/Extrema_LocEPCOfLocateExtPC2d.hxx
568 @@ -72,6 +72,8 @@
572 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
573 +Standard_Real Value() const { return sqrt(SquareDistance()); }
576 protected:
577 Index: opencascade/ros/inc/Extrema_LocateExtCC.hxx
578 ===================================================================
579 --- opencascade.orig/ros/inc/Extrema_LocateExtCC.hxx
580 +++ opencascade/ros/inc/Extrema_LocateExtCC.hxx
581 @@ -65,6 +65,8 @@
585 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
586 +Standard_Real Value() const { return sqrt(SquareDistance()); }
589 protected:
590 Index: opencascade/ros/inc/Extrema_LocateExtCC2d.hxx
591 ===================================================================
592 --- opencascade.orig/ros/inc/Extrema_LocateExtCC2d.hxx
593 +++ opencascade/ros/inc/Extrema_LocateExtCC2d.hxx
594 @@ -65,6 +65,8 @@
598 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
599 +Standard_Real Value() const { return sqrt(SquareDistance()); }
602 protected:
603 Index: opencascade/ros/inc/Extrema_LocateExtPC.hxx
604 ===================================================================
605 --- opencascade.orig/ros/inc/Extrema_LocateExtPC.hxx
606 +++ opencascade/ros/inc/Extrema_LocateExtPC.hxx
607 @@ -90,6 +90,8 @@
611 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
612 +Standard_Real Value() const { return sqrt(SquareDistance()); }
615 protected:
616 Index: opencascade/ros/inc/Extrema_LocateExtPC2d.hxx
617 ===================================================================
618 --- opencascade.orig/ros/inc/Extrema_LocateExtPC2d.hxx
619 +++ opencascade/ros/inc/Extrema_LocateExtPC2d.hxx
620 @@ -91,6 +91,8 @@
624 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
625 +Standard_Real Value() const { return sqrt(SquareDistance()); }
627 protected:
629 Index: opencascade/ros/inc/Extrema_PCFOfEPCOfELPCOfLocateExtPC.hxx
630 ===================================================================
631 --- opencascade.orig/ros/inc/Extrema_PCFOfEPCOfELPCOfLocateExtPC.hxx
632 +++ opencascade/ros/inc/Extrema_PCFOfEPCOfELPCOfLocateExtPC.hxx
633 @@ -98,6 +98,8 @@
637 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
638 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
641 protected:
642 Index: opencascade/ros/inc/Extrema_PCFOfEPCOfELPCOfLocateExtPC2d.hxx
643 ===================================================================
644 --- opencascade.orig/ros/inc/Extrema_PCFOfEPCOfELPCOfLocateExtPC2d.hxx
645 +++ opencascade/ros/inc/Extrema_PCFOfEPCOfELPCOfLocateExtPC2d.hxx
646 @@ -98,6 +98,8 @@
650 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
651 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
654 protected:
655 Index: opencascade/ros/inc/Extrema_PCFOfEPCOfExtPC.hxx
656 ===================================================================
657 --- opencascade.orig/ros/inc/Extrema_PCFOfEPCOfExtPC.hxx
658 +++ opencascade/ros/inc/Extrema_PCFOfEPCOfExtPC.hxx
659 @@ -98,6 +98,8 @@
663 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
664 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
667 protected:
668 Index: opencascade/ros/inc/Extrema_PCFOfEPCOfExtPC2d.hxx
669 ===================================================================
670 --- opencascade.orig/ros/inc/Extrema_PCFOfEPCOfExtPC2d.hxx
671 +++ opencascade/ros/inc/Extrema_PCFOfEPCOfExtPC2d.hxx
672 @@ -98,6 +98,8 @@
676 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
677 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
680 protected:
681 Index: opencascade/ros/inc/Extrema_PCLocFOfLocEPCOfLocateExtPC.hxx
682 ===================================================================
683 --- opencascade.orig/ros/inc/Extrema_PCLocFOfLocEPCOfLocateExtPC.hxx
684 +++ opencascade/ros/inc/Extrema_PCLocFOfLocEPCOfLocateExtPC.hxx
685 @@ -98,6 +98,8 @@
689 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
690 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
693 protected:
694 Index: opencascade/ros/inc/Extrema_PCLocFOfLocEPCOfLocateExtPC2d.hxx
695 ===================================================================
696 --- opencascade.orig/ros/inc/Extrema_PCLocFOfLocEPCOfLocateExtPC2d.hxx
697 +++ opencascade/ros/inc/Extrema_PCLocFOfLocEPCOfLocateExtPC2d.hxx
698 @@ -98,6 +98,8 @@
702 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
703 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
706 protected:
707 Index: opencascade/ros/inc/Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter.hxx
708 ===================================================================
709 --- opencascade.orig/ros/inc/Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter.hxx
710 +++ opencascade/ros/inc/Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter.hxx
711 @@ -98,6 +98,8 @@
715 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
716 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
719 protected:
720 Index: opencascade/ros/inc/Geom2dInt_TheLocateExtPCOfTheProjPCurOfGInter.hxx
721 ===================================================================
722 --- opencascade.orig/ros/inc/Geom2dInt_TheLocateExtPCOfTheProjPCurOfGInter.hxx
723 +++ opencascade/ros/inc/Geom2dInt_TheLocateExtPCOfTheProjPCurOfGInter.hxx
724 @@ -72,6 +72,8 @@
728 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
729 +Standard_Real Value() const { return sqrt(SquareDistance()); }
732 protected:
733 Index: opencascade/ros/inc/HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter.hxx
734 ===================================================================
735 --- opencascade.orig/ros/inc/HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter.hxx
736 +++ opencascade/ros/inc/HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter.hxx
737 @@ -97,6 +97,8 @@
741 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
742 +Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
745 protected:
746 Index: opencascade/ros/inc/HLRBRep_TheLocateExtPCOfTheProjPCurOfCInter.hxx
747 ===================================================================
748 --- opencascade.orig/ros/inc/HLRBRep_TheLocateExtPCOfTheProjPCurOfCInter.hxx
749 +++ opencascade/ros/inc/HLRBRep_TheLocateExtPCOfTheProjPCurOfCInter.hxx
750 @@ -74,6 +74,8 @@
754 +// DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance(). Add an alias to not break existing code
755 +Standard_Real Value() const { return sqrt(SquareDistance()); }
758 protected:
