1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/vselect/bugs/bug27848
mzernova b0afa94d10 0027848: Visualization - sensitivity of lines is too high
Improved objects sorting by depth.

The sensitivity calculation for the manipulator has been changed.
Now the sensitivity of the elements of the manipulator depends on its size.

Also fixed the problem of erroneous selection of unfilled circles (SelectMgr_Frustum<N>::hasCircleOverlap() function).

Test case vselect/bugs/bug27848 added.
2023-02-04 09:17:58 +00:00

24 lines
360 B
Plaintext

puts "============="
puts "0027848: Visualization - sensitivity of lines is too high"
puts "============="
pload VISUALIZATION
vinit View1
vclear
box b 10 10 0.1
vdisplay b -dispmode 1
vline l 0 0 0 10 10 0
vdisplay l
vpoint p 20 20 0
vtop
vfit
vselect 100 305
if { [string match "*AIS_Line*" [vstate]] } { puts "Error: AIS_Shape should be detected" }