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/bug25214
msv 6b8f3bdc36 0025214: HLR fails to project edges
Avoid getting non-existing array items. Use reference to array items instead of pointers where it is possible.
Create test case. Before the fix this test raised exception in debug mode.
2016-10-27 17:27:26 +03:00

21 lines
410 B
Plaintext

puts "============"
puts "OCC25214"
puts "============"
puts ""
###############################
## HLR fails to project edges
###############################
polyline Line 0 0 0 10 10 10
hprj Shape2DView_proj 0 0 0 0 0 1 1 0 0
houtl Shape2DView_outl Line
hfill Shape2DView_outl Shape2DView_proj 0
hload Shape2DView_outl
hsetprj Shape2DView_proj
hupdate
hhide
hres2d
checknbshapes vl -edge 1 -m "HLRToShape"