BRepExtrema/BRepExtrema_ExtCF.cxx - set correct using BRepAdaptor_Curve in Extrema
tests/bugs/modalg_8/bug32973 - new test case added
BRepAdaptor_Curve Curv(E);
Handle(BRepAdaptor_Curve) HC = new BRepAdaptor_Curve(Curv);
- myExtCS.Perform(HC->Curve(), U1, U2);
+ myExtCS.Perform(*HC, U1, U2);
if(!myExtCS.IsDone())
return;
--- /dev/null
+puts "============================================================================================="
+puts "0032973: Modeling Algorithms - Regression in BRepExtrema_DistShapeShape compared with 7.5"
+puts "============================================================================================="
+puts ""
+
+restore [locate_data_file bug29313_Nozzle45.brep] s1
+restore [locate_data_file bug29313_RobotArm6.brep] s2
+
+distmini d s1 s2
+set Tol 1.e-7
+checkreal ddd [dval d_val] 2185.9739179983058 $Tol $Tol
+compound s1 s2 d d2 res
+checkview -display res -2d -path ${imagedir}/${test_image}.png