0025952: Wrong intersection curve
[occt.git] / tests / lowalgos / intss / bug28984
CommitLineData
73375359 1puts "======="
2puts "0028984"
3puts "======="
4puts ""
5##################################################
6# Huge intersection tolerance obtained by Face/Face intersection algorithm
7##################################################
8
9binrestore [locate_data_file bug28984_faces.bin] f
10
11explode f
12
13set log [bopcurves f_1 f_2 -2d]
14regexp {Tolerance Reached=([-0-9.+eE]+)} $log full tol_reached
15regexp {([1-9]) curve} $log full nb_curves
16
17if {$nb_curves != 2} {
18 puts "Error: Invalid number of curves"
19}
20
faaa95cb 21if {$tol_reached > 0.01} {
73375359 22 puts "Error: Too big intersection tolerance"
23}