0024326: Get rid of confusing extension line
[occt.git] / tests / bugs / modalg_5 / bug23706_6
CommitLineData
32ca7a51 1puts "============"
2puts "OCC23706"
3puts "============"
4puts ""
5#########################################################################
6# Cannot project point on curve
7#########################################################################
8
9pload XSDRAW
102dbsplinecurve cc 3 2 0 4 1 4 -1 -1 1 0 -1 1 0 0 1 0 0 1
11offset2dcurve o cc .5
12set info [length o]
13regexp {The length o is+ +([-0-9.+eE]+)} $info full ll
14set ll_check 2.3717833300483151
15
16if { [expr 1.*abs($ll_check - $ll)/$ll_check] > 0.01 } {
17 puts "Error : The lenght of result shape is $ll"
18}