File: bug24627

package info (click to toggle)
oce 0.18.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 301,548 kB
  • sloc: cpp: 1,190,609; ansic: 67,225; sh: 11,630; tcl: 7,954; cs: 5,221; python: 2,867; java: 1,522; makefile: 342; xml: 292; perl: 37
file content (24 lines) | stat: -rw-r--r-- 622 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
puts "========"
puts "OCC24627"
puts "========"
puts ""
######################################
## Extrema 2d between an arc of circle and an ellipse crashes
######################################

# Make a planar face (for construction of 2 curves).
plane p 0 0 0 0 0 1
mkface f p -1000 1000 -1000 1000

# Load an arc of circle and make a 2d arc.
restore [locate_data_file bug24627_circle.brep] c
explode c e
mk2dcurve c2d c_1 f

# Load a ellipse and make a 2d ellipse.
restore [locate_data_file bug24627_ellipse.brep] e
explode e e
mk2dcurve e2d e_1 f

# Compute extrema points for these two 2d curves.
2dextrema c2d e2d