2 puts "=========================================================================="
3 puts "OCC31016: Projection of an ellipse or a circle is a B-spline in some cases"
4 puts "=========================================================================="
7 ellipse c 0 0 0 0 0 1 2 1 0 20 10
11 if {![regexp {BSplineCurve} [dump r]]} {
12 puts "ERROR: Projected curve is not a B-spline curve"
15 if {[CheckProjectionToPlane 100 c 0 [expr 2*[dval pi]] r 0 [expr 2*[dval pi]] p {} 1.e-6]} {
17 puts "OK: All sample points are projected correctly"
21 puts "ERROR: Projection is incorrect for some points"