0028594: Geom2dAPI_Interpolate generated curve is not the same as proe
[occt.git] / tests / bugs / modalg_6 / bug28594
CommitLineData
353e6fa0 1puts "========"
2puts "OCC28594"
3puts "========"
4puts ""
5####################################################################
6# Geom2dAPI_Interpolate generated curve is not the same as proe
7####################################################################
8
9pload QAcommands
10
11set anImageWithScale ${imagedir}/${test_image}_c1.png
12set anImageWithoutScale ${imagedir}/${test_image}_c2.png
13
14OCC28594 c1 c2
15smallview -2D-
16donly c1
172dfit
18checkview -screenshot -2d -path ${anImageWithScale}
19donly c2
20checkview -screenshot -2d -path ${anImageWithoutScale}
21
22set aDiffImageResult [diffimage $anImageWithScale $anImageWithoutScale 0.1 0 0]
23if {$aDiffImageResult == 0} {
24 puts "Error: curves are equal"
25}