beziercurve bz 3 0 0 0 .5 .5e-3 0 1 0 0 mkedge e bz getanacurve c e cir 1.e-3 if {[isdraw c]} { set log [dump c] if { [regexp {Circle} $log ] != 1 } { puts "Error: curve is not a circle" } } else { puts "Error: required curve is not got" }