0024627: Extrema 2d between an arc of circle and an ellipse crashes
[occt.git] / tests / bugs / moddata_3 / bug24627
1 puts "========"
2 puts "OCC24627"
3 puts "========"
4 puts ""
5 ######################################
6 ## Extrema 2d between an arc of circle and an ellipse crashes
7 ######################################
8
9 # Make a planar face (for construction of 2 curves).
10 plane p 0 0 0 0 0 1
11 mkface f p -1000 1000 -1000 1000
12
13 # Load an arc of circle and make a 2d arc.
14 restore [locate_data_file bug24627_circle.brep] c
15 explode c e
16 mk2dcurve c2d c_1 f
17
18 # Load a ellipse and make a 2d ellipse.
19 restore [locate_data_file bug24627_ellipse.brep] e
20 explode e e
21 mk2dcurve e2d e_1 f
22
23 # Compute extrema points for these two 2d curves.
24 2dextrema c2d e2d