1 puts "================"
3 puts "================"
5 #######################################################################################
6 # Wrong triangulation on cone
7 ######################################################################################
11 pcone result 10 0 20 90
27 set nb_compound_good 0
36 # relative tolerance (%)
40 puts "\nChecking triangulation area (triarea command)..."
41 set rel_err [expr abs([CheckTriArea result $area_eps])]
42 if { $rel_err > $rel_tol } {
43 puts "Error : area by triangles differs from the actual area by $rel_err %"
45 if { $rel_tol > 1 && $rel_tol < 100 } {
46 puts "Error: Improvement: The current area difference is $rel_err instead of $rel_tol"