compatibility-occ630-Value
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Fri, 6 May 2011 13:52:41 +0000 (14:52 +0100)
committerAdam C. Powell, IV <hazelsct@debian.org>
Fri, 6 May 2011 13:52:41 +0000 (14:52 +0100)
Temporarily push back methods which have been removed between 6.3.0 and 6.5.0

Many classes in OCC 6.3.O did provide a method Value(), which
have been replaced by SquareDistance() in OCC 6.5.0.
These methods seem to be commonly used, we provide a temporary alias
to help smooth upgrades to 6.5.0.

Few other aliases are also added, but note that this patch is transient
and will be removed when all packages are ported to 6.5.0

Gbp-Pq: Name compatibility-occ630-Value.patch

56 files changed:
ros/inc/BRepExtrema_ExtCC.hxx
ros/inc/BRepExtrema_ExtCF.hxx
ros/inc/BRepExtrema_ExtFF.hxx
ros/inc/BRepExtrema_ExtPC.hxx
ros/inc/BRepExtrema_ExtPF.hxx
ros/inc/BRepMesh_DataStructureOfDelaun.hxx
ros/inc/Extrema_ECC2dOfExtCC2d.hxx
ros/inc/Extrema_ECCOfExtCC.hxx
ros/inc/Extrema_ELCC2dOfLocateExtCC2d.hxx
ros/inc/Extrema_ELCCOfLocateExtCC.hxx
ros/inc/Extrema_ELPCOfLocateExtPC.hxx
ros/inc/Extrema_ELPCOfLocateExtPC2d.hxx
ros/inc/Extrema_EPCOfELPCOfLocateExtPC.hxx
ros/inc/Extrema_EPCOfELPCOfLocateExtPC2d.hxx
ros/inc/Extrema_EPCOfExtPC.hxx
ros/inc/Extrema_EPCOfExtPC2d.hxx
ros/inc/Extrema_ExtCC.hxx
ros/inc/Extrema_ExtCC2d.hxx
ros/inc/Extrema_ExtCS.hxx
ros/inc/Extrema_ExtElC.hxx
ros/inc/Extrema_ExtElC2d.hxx
ros/inc/Extrema_ExtElCS.hxx
ros/inc/Extrema_ExtElSS.hxx
ros/inc/Extrema_ExtPC.hxx
ros/inc/Extrema_ExtPC2d.hxx
ros/inc/Extrema_ExtPElC.hxx
ros/inc/Extrema_ExtPElC2d.hxx
ros/inc/Extrema_ExtPElS.hxx
ros/inc/Extrema_ExtPExtS.hxx
ros/inc/Extrema_ExtPRevS.hxx
ros/inc/Extrema_ExtPS.hxx
ros/inc/Extrema_ExtSS.hxx
ros/inc/Extrema_GenExtCS.hxx
ros/inc/Extrema_GenExtPS.hxx
ros/inc/Extrema_GenExtSS.hxx
ros/inc/Extrema_GenLocateExtCS.hxx
ros/inc/Extrema_GenLocateExtPS.hxx
ros/inc/Extrema_GenLocateExtSS.hxx
ros/inc/Extrema_LocECC2dOfLocateExtCC2d.hxx
ros/inc/Extrema_LocECCOfLocateExtCC.hxx
ros/inc/Extrema_LocEPCOfLocateExtPC.hxx
ros/inc/Extrema_LocEPCOfLocateExtPC2d.hxx
ros/inc/Extrema_LocateExtCC.hxx
ros/inc/Extrema_LocateExtCC2d.hxx
ros/inc/Extrema_LocateExtPC.hxx
ros/inc/Extrema_LocateExtPC2d.hxx
ros/inc/Extrema_PCFOfEPCOfELPCOfLocateExtPC.hxx
ros/inc/Extrema_PCFOfEPCOfELPCOfLocateExtPC2d.hxx
ros/inc/Extrema_PCFOfEPCOfExtPC.hxx
ros/inc/Extrema_PCFOfEPCOfExtPC2d.hxx
ros/inc/Extrema_PCLocFOfLocEPCOfLocateExtPC.hxx
ros/inc/Extrema_PCLocFOfLocEPCOfLocateExtPC2d.hxx
ros/inc/Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter.hxx
ros/inc/Geom2dInt_TheLocateExtPCOfTheProjPCurOfGInter.hxx
ros/inc/HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter.hxx
ros/inc/HLRBRep_TheLocateExtPCOfTheProjPCurOfCInter.hxx

index 502675caf6f4b7ae2f65fc0e0a1a8d926ee48c02..314fffec70ef6765c8d33c500e1ab51a66b414cb 100644 (file)
@@ -90,6 +90,10 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, TrimmedDistances() has been replaced by TrimmedSquareDistances().  Add an alias to not break existing code
+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); }
 
 
 protected:
index 8cc9abcf62d905c0870b3930f0b56430143bd3b1..d19e7fd04b379065a14c03ebfb345121d7f51bae 100644 (file)
@@ -95,6 +95,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index c6cb658a28be595122f6f60c3615fc328e011600..176acb0a833dbe9a1484a45515f4b2b9eb9a2556 100644 (file)
@@ -91,6 +91,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index 423d143166b50bccc86797be7e1049cbfa25c8c7..9dfd0fd2127b7c436bcc764566fa8eda3a9368a4 100644 (file)
@@ -87,6 +87,10 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, TrimmedDistances() has been replaced by TrimmedSquareDistances().  Add an alias to not break existing code
+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); }
 
 protected:
 
index 55c5afbca422bfdea8b0f68c472df5348f7772a0..6d04f595eee8feb50bca4eb39156bf374e0fa5d0 100644 (file)
@@ -85,6 +85,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
 
 protected:
 
index be0643eb8df4b5dac0595f62c79c7e6c000920e9..c59dbd066519774b55b1ac6e33d19d4a719acd70 100644 (file)
@@ -146,6 +146,9 @@ public:
   Standard_EXPORT    const MeshDS_BaseAllocator& Allocator() const;
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, typos in ForseRemoveNode() and ForceRemoveLink() have been fixed.  Add an alias to not break existing code
+void ForseRemoveNode(const Standard_Integer Index) { ForceRemoveNode(Index); }
+void ForseRemoveLink(const Standard_Integer Index) { ForceRemoveLink(Index); }
 
 
   DEFINE_STANDARD_RTTI(BRepMesh_DataStructureOfDelaun)
index dbd0f1c6e2521335cb08115326381376f96fac06..25245ef77acf4e18e7f8c60366ad116ad01e41da 100644 (file)
@@ -85,6 +85,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N = 1) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index ca58b880c35e82d614a956e770b8e9ecc05ac714..e8a2bccc694272c3af461f8df4a6da49bf5579bb 100644 (file)
@@ -85,6 +85,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N = 1) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index 0123e40cbd510c7b0ab8450d12527884f5b335e3..7736380a11e0cc67073d80769c955db2a2b4c036 100644 (file)
@@ -85,6 +85,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N = 1) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index 4b13d87180cf74ab01e9a824c9283fcd532922c7..90823bd3390e0d622b1b987a3a93fc000822bcc4 100644 (file)
@@ -85,6 +85,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N = 1) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index 47f1e3753ee7209564f31760a7833b1f4caa29cd..3902686504b5991de206fd922b08cd69dd0c11e2 100644 (file)
@@ -102,6 +102,10 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, TrimmedDistances() has been replaced by TrimmedSquareDistances().  Add an alias to not break existing code
+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); }
 
 
 protected:
index 6e879fade280e9fd4b8112828868a69a9ef6c556..88624730c6dfde2f9559d894fefd1d38a463bbb2 100644 (file)
@@ -102,6 +102,10 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, TrimmedDistances() has been replaced by TrimmedSquareDistances().  Add an alias to not break existing code
+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); }
 
 
 protected:
index 7094a50ee3d877e4e268ce69321392ea19f022f8..5995846e98149caf0bcebf487bbf5609be855fa9 100644 (file)
@@ -83,6 +83,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index 296115757d941f94d924ad188f31c3725885828d..54025f001cc918e9ac4dd781be2a5c084efc8d09 100644 (file)
@@ -83,6 +83,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index d6b35d3f130d65fed54bb71b6580041137b0d388..f3106ba341aca3d7cf2a5cf40a60146528bfcc74 100644 (file)
@@ -82,6 +82,8 @@ public:
   Standard_EXPORT     Extrema_POnCurv Point(const Standard_Integer N) const;
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
 
 
 
index 507cab2dbe5b47b476ab876cbd8f4f9f24e9d2c0..4b8b037b6fd54f0fc173e903f7fbc37adfcc9539 100644 (file)
@@ -82,6 +82,8 @@ public:
   Standard_EXPORT     Extrema_POnCurv2d Point(const Standard_Integer N) const;
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
 
 
 
index 4497bab46edc3322b51bb10582813ad6acd97522..a094de2a4495a308100a23f5d2d771251fcc05eb 100644 (file)
@@ -104,6 +104,10 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N = 1) const { return sqrt(SquareDistance(N)); }
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, TrimmedDistances() has been replaced by TrimmedSquareDistances().  Add an alias to not break existing code
+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); }
 
 
 protected:
index 0b1fb4ad3c85f15a0428592e6db11548419884b1..1886b036a12f776bc767775ddfb928c597e5f34e 100644 (file)
@@ -92,6 +92,10 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N = 1) const { return sqrt(SquareDistance(N)); }
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, TrimmedDistances() has been replaced by TrimmedSquareDistances().  Add an alias to not break existing code
+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);}
 
 
 protected:
index 6bd3e40c57d886318979eae672aede0fea45acd7..762efc7b9f7f01113b8bd48c2bc92c65be6440c4 100644 (file)
@@ -95,6 +95,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index e4596dc881f067598ef41620e25750176f8dc8e7..aa933a3dda3918028f238db9fac49bcff9bbc4d3 100644 (file)
@@ -117,6 +117,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N = 1) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index e5e95451aa84eb066ba4959bb164d23f6ba25c24..d24a0c161ad03598857abe02b2c38357764ae989 100644 (file)
@@ -117,6 +117,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N = 1) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index 4a609b88ce769590b45de54326ccda8f1b1ff0ae..7c4dae49ef0f0f4059d14463195f8d324a27e0a9 100644 (file)
@@ -139,6 +139,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N = 1) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index 64bf21cfb23e3f7955cc027838cfe0eda82b364f..4ede35d2d3f6727639e444fb57f52dab01eb3785 100644 (file)
@@ -106,6 +106,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N = 1) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index 6ba5b1acbf4649ccadb2ca85a044f8376bd36e87..823b01f99ebb33ff8a088c5ede3f0dfb9997870c 100644 (file)
@@ -102,6 +102,10 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, TrimmedDistances() has been replaced by TrimmedSquareDistances().  Add an alias to not break existing code
+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); }
 
 
 protected:
index 7add13d71e2f7294a2a968806fe21ef2ca544a70..3632fa7d43eebb86e6f3df216cb4c7eec111256c 100644 (file)
@@ -102,6 +102,10 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, TrimmedDistances() has been replaced by TrimmedSquareDistances().  Add an alias to not break existing code
+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); }
 
 
 protected:
index c6befc1dc6c8f53ee256cc030a27f1223e84d556..db07647a9f55134049262154854125aa9ec0f0e0 100644 (file)
@@ -123,6 +123,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index 6d7e6b622ec0465e10ef025b577f36b6150ed10a..c06ca7f5c0a2f6bc8766ebc089b53be227c72000 100644 (file)
@@ -123,6 +123,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index 7be102c5bd1603a480aac70f2ec77fde069f1b57..24f6bb8a6bc56099a42ffedbb63d670cbc196083 100644 (file)
@@ -99,6 +99,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index 25d45bab7f61e098bd00a2cc6257aff1d9855fba..ed1850a36b7a8b43e3c7e35705b386886fc7a6b6 100644 (file)
@@ -94,6 +94,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index 6044e3220d97888caae37ad4002e57834d480654..1b4b82cbb6737736efff00b488f4986faaed6593 100644 (file)
@@ -83,6 +83,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index 9ba61b2469690a3c9bc77c612848c44b25cf4d4c..119bc9f65f1e33227012ab85a180ff14878f06d3 100644 (file)
@@ -117,6 +117,10 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N = 1) const { return sqrt(SquareDistance(N)); }
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, TrimmedDistances() has been replaced by TrimmedSquareDistances().  Add an alias to not break existing code
+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); }
 
 
 protected:
index 9b6a80704b2ffbeeed8d7ee28e5d975a71df5ceb..b685c0bbffd3dbbb4793ecc5be8eaf685895e429 100644 (file)
@@ -88,6 +88,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index 0798ddf24424f8f20093032141fa3d5073d1fd48..5d652270b4992b1fcb1d3667c150da2a10b6dc6e 100644 (file)
@@ -110,6 +110,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index 628a400ca88177059ce045e0ac08dcadc497f175..f77a9eec999662ce629b9956bda81f8dba37a3be 100644 (file)
@@ -106,6 +106,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGE: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index f0332842e862582f6708e177c841ad2247859b54..0e999368e41dae42b52f706f85bea72c795f9c42 100644 (file)
@@ -101,6 +101,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index 499e1d561af9122ae903f0969d531daa64d15174..5d461eeb36c05d2fa1598cfdbce1ad1e1d4a2ded 100644 (file)
@@ -74,6 +74,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value() const { return sqrt(SquareDistance()); }
 
 
 protected:
index 7abd6cd7a09f4d2b7336b9405c4cf5865b119419..c61bd117fb25aa282b8381d8b88a158717f5ad17 100644 (file)
@@ -66,6 +66,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value() const { return sqrt(SquareDistance()); }
 
 
 protected:
index 84ffda49bfe383e2acfb88849787fe3e56ea4e0a..591ec6a69e0d260e8a5a06492c519a5d0032d520 100644 (file)
@@ -69,6 +69,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value() const { return sqrt(SquareDistance()); }
 
 
 protected:
index a32d0a8f56fbb2fcfa0858f797cd5c99bc368257..e6489e6d11069b045303392f2ee651d291960d68 100644 (file)
@@ -61,6 +61,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value() const { return sqrt(SquareDistance()); }
 
 
 protected:
index bd9ddc398a9f60eb55f1b1d7d0f25f5285d66bbb..b03afd59f84cb91176f8f66c741e3dc8a5989c9e 100644 (file)
@@ -61,6 +61,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value() const { return sqrt(SquareDistance()); }
 
 
 protected:
index d41d7b0a54285b820faedb9ebda00c6088b6d470..c6058a5540b96bfc20821b65117befee04dbd5f4 100644 (file)
@@ -72,6 +72,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value() const { return sqrt(SquareDistance()); }
 
 
 protected:
index fb0284a52bace68b7ba3cbd58f7c5930c84af5d6..1251e8a216ffdfaf48a1452a7d67ee11f4867195 100644 (file)
@@ -72,6 +72,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value() const { return sqrt(SquareDistance()); }
 
 
 protected:
index 6d2e866054e0dfa6f050e07fe6c9881bf2e8a44e..684398a2d501658c422dc294237653ef4bae4349 100644 (file)
@@ -65,6 +65,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value() const { return sqrt(SquareDistance()); }
 
 
 protected:
index a1fa7eb29fd8191ccab7d6d66bf53ed57e5ea2b3..370e01ef90b7068200be936c4a1a4a6263b97f26 100644 (file)
@@ -65,6 +65,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value() const { return sqrt(SquareDistance()); }
 
 
 protected:
index ec59462a160f6c4cb3abd2dfa5b32a764cc25e89..3634c6558cfe192673ee22ec3e956ff22cfd11f1 100644 (file)
@@ -90,6 +90,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value() const { return sqrt(SquareDistance()); }
 
 
 protected:
index de84f93f445bc762aa7d7a446f35837928d0b379..5518689d1557d701ce30d5e8aa97aeb19cbbe27a 100644 (file)
@@ -91,6 +91,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value() const { return sqrt(SquareDistance()); }
 
 protected:
 
index dfc5bce769de7cc8d7fbf453b614cb56055ac3b4..ac561ce16bc06932903613c55797f8f324eed0ef 100644 (file)
@@ -98,6 +98,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index c7d8a917b142ca7b4fb29a74c6e1eb68e27de2ee..57bc31caf3b6ac0a55f3d9a3f92bee8f7ad70dcd 100644 (file)
@@ -98,6 +98,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index 89e87c4fdaf90bfee5e8174b39c397da21beda7e..4f4dbc966e086a61f4670c6eaab39b423a44c0f9 100644 (file)
@@ -98,6 +98,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index 3ddd0aecdef21848ebf072d05fea111c0bf26d58..062673b7eaed3edb642fc4ed13a3a86f02f1f4df 100644 (file)
@@ -98,6 +98,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index 2b23d7a1222fe73c220a247d95b576829dfb5ddf..9757a28adb06111830a4aa36ba5bc5b4c82cc942 100644 (file)
@@ -98,6 +98,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index b6125a97d0dbe22f597c374d5b1c42e75736cb98..749c632f82faf01a8323ee82df0fced4e198d988 100644 (file)
@@ -98,6 +98,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index 1d4ef4c55eac15e426ae82cad4765b032c0f8b23..5e92d4daf23861702125a0af11c2122746bbba2c 100644 (file)
@@ -98,6 +98,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index 899cbc71b03d5ccd960cd63e655def768b667d38..e1dcca82a1296ede31e0285bbe999ed0097b9fde 100644 (file)
@@ -72,6 +72,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value() const { return sqrt(SquareDistance()); }
 
 
 protected:
index 9b62d481315b864b75bd4b5c50a4b9b7bcb0b400..8cde131ac6722e48c7b5622755b8a0f4e36624af 100644 (file)
@@ -97,6 +97,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value(const Standard_Integer N) const { return sqrt(SquareDistance(N)); }
 
 
 protected:
index 7f9e7a53c82885f1987e51af0e4ee7acf0bbb535..7a8777d964fc7dc5b7ca8775330e151c23ee34ac 100644 (file)
@@ -74,6 +74,8 @@ public:
 
 
 
+//  DEBIAN SPECIFIC CHANGES: In OCC 6.5.0, Value() has been replaced by SquareDistance().  Add an alias to not break existing code
+Standard_Real Value() const { return sqrt(SquareDistance()); }
 
 
 protected: