mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
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.
21 lines
410 B
Plaintext
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"
|