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