mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-10 17:40:24 +08:00
Trimming line by corner points of surface bounding box is added to reduce rang of line Test case added
20 lines
427 B
Plaintext
20 lines
427 B
Plaintext
puts "========"
|
|
puts "OCC29655"
|
|
puts "========"
|
|
puts ""
|
|
#################################################
|
|
# 0029655: [Regression to 6.9.1] Distance between cylinder and straight line
|
|
#################################################
|
|
|
|
restore [locate_data_file bug29655.brep] s
|
|
explode s
|
|
distmini res s_1 s_2
|
|
|
|
|
|
if { [isdraw res] } {
|
|
checknbshapes res -vertex 1 -edge 0
|
|
} else { puts "Error : result of distmini is wrong" }
|
|
|
|
|
|
|