1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

0031140: Draw command "cirtang" raises exception on the parallel curves

Exception in the algorithm Geom2dGcc_Circ2dTanOnRadGeo raised because the number of solutions exceeded the size of reserved array for solutions. A check has been added to forbid adding solutions outside of allocated place.

The similar protection has been done in other algorithms of this package.
This commit is contained in:
gka
2019-11-07 18:09:48 +03:00
committed by bugmaster
parent 15e4e6a23e
commit 4c26106f76
7 changed files with 190 additions and 177 deletions

View File

@@ -0,0 +1,9 @@
puts "======================="
puts "0031140: Draw command cirtang raises ex-ception on the parallel curves"
puts "======================="
restore [locate_data_file bug31140_edge1.brep] e1
restore [locate_data_file bug31140_edge2.brep] e2
mk2dcurve c1 e1
mk2dcurve c2 e2
cirtang res -c c1 -c c2 -r .1