5 ###########################################################
6 # GeomAPI_ExtremaCurveCurve does not return all intersection points in 6.8.0
7 ###########################################################
11 restore [locate_data_file bug25708_interror.brep] b
18 set extrema_res [extrema c1 c2]
19 set extrema_length [llength ${extrema_res} ]
21 if {${extrema_length} != 2 } {
22 puts "Error: GeomAPI_ExtremaCurveCurve does not return all intersection points"
24 puts "OK: GeomAPI_ExtremaCurveCurve return all intersection points"
29 regexp "Parameters : 0 +(\[-0-9*\.+eE\]+)" $info full extLength1
30 if {${extLength1} > 1e-14 } {
31 puts "1. Error: bad distance points obtained"
33 puts "1. OK: good distance between obtained points "
37 regexp "Parameters : 0 +(\[-0-9*\.+eE\]+)" $info full extLength2
38 if {${extLength2} > 1e-14 } {
39 puts "2. Error: bad distance points obtained"
41 puts "2. OK: good distance between obtained points "