1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/modalg_6/bug28394_1
nbv 8cc8a6925d 0028394: Not precise extrema solution of line and circle lying in the same plane
If the line is in the circle-plane completely (or parallel to the circle-plane) then extremas and intersections in 2D-space are looked for. These case are pure analytical and solutions will be found precisely.
2017-02-02 16:09:03 +03:00

16 lines
401 B
Plaintext

puts "========"
puts "OCC28394"
puts "========"
puts ""
##############################################
# Not precise extrema solution of line and circle lying in the same plane
##############################################
restore [locate_data_file bug28394_edges.brep] e
explode e
set anInfo [distmini d e_1 e_2]
if {[dval d_val] > 1.0e-7} {
puts "Error: Extrema cannot find minimal distance"
}