mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-24 13:50:49 +03:00
0032796: Modeling Data - Calculation of distance between two circles crashes
Modified: - Extrema_ExtCC.cxx, the method PrepareParallelResult() - angular tolerance is increased. Added: - A test: lowalgos extcc bug32796
This commit is contained in:
15
tests/lowalgos/extcc/bug32796
Normal file
15
tests/lowalgos/extcc/bug32796
Normal file
@@ -0,0 +1,15 @@
|
||||
puts "============"
|
||||
puts "OCC32796: Modeling Data - Calculation of distance between two circles crashes"
|
||||
puts "============"
|
||||
puts ""
|
||||
|
||||
restore [locate_data_file bug32796e1.brep] e1
|
||||
restore [locate_data_file bug32796e2.brep] e2
|
||||
mkcurve c1 e1
|
||||
mkcurve c2 e2
|
||||
|
||||
if [catch { extrema c1 c2 }] {
|
||||
puts "Calculation of distance between two circles crashes"
|
||||
} else {
|
||||
puts "Calculation of distance between two circles is OK"
|
||||
}
|
Reference in New Issue
Block a user