mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
AdvApp2Var_SysBase::mcrgene_ size reduced from 1000 to 32 elements, and each element reworked into typed structure. fixed IntAna_Curve.cxx to prevent access to #NAN# SigneSqrtDis fixed alignment of doubles by 8 bytes, and minor corrections Minor correction: static const N given more specific name (MAX_ALLOC_NB) Added QAcommands OCC23952sweep and OCC23952intersect Added test cases bugs/modalg_5/bug23952_1 bug23952_2
22 lines
675 B
Plaintext
22 lines
675 B
Plaintext
puts "================"
|
|
puts "OCC23952"
|
|
puts "================"
|
|
puts ""
|
|
###########################################################################################
|
|
# Improving thread-safety of intersections, approximations and other modeling algorithms
|
|
###########################################################################################
|
|
|
|
pload QAcommands
|
|
restore [locate_data_file bug23952_s1.draw] a
|
|
restore [locate_data_file bug23952_s2.draw] b
|
|
|
|
set NbLines 5
|
|
set info [OCC23952intersect $NbLines a b]
|
|
|
|
if { [regexp "theNbSol: OK" $info] != 1 } {
|
|
puts "Error : Number of intersections is incorrect"
|
|
} else {
|
|
puts "OK: Number of intersections is correct"
|
|
}
|
|
|