File: bug31381

package info (click to toggle)
opencascade 7.9.2%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 301,924 kB
  • sloc: cpp: 1,523,264; tcl: 10,159; cs: 5,173; java: 1,554; sh: 1,342; ansic: 827; xml: 699; makefile: 30; javascript: 22
file content (15 lines) | stat: -rw-r--r-- 557 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
puts "# ============"
puts "# 0031381: Foundation Classes - wrong evaluations for rational BSpline curves using Adaptor curves "
puts "# ============"
puts ""
puts "Eliminate output of approxcurve command"
puts "REQUIRED ALL: Error   4.32754e-05" 

circle c 0 0 1
puts "Get rational BSpline curve of degree 2"
convert c c
puts "Get offset curve to force calculation of D3 for base curve when algorithm needs D2 for offset"
offset oc c -.5
puts "Approximate offset curve with continuity C2"
approxcurve ac oc 1.e-4 2 5 25
checklength ac -l 3.1415850499856011