0028248: [Regression] HLR Algo result is retrieved from the last added shape only
[occt.git] / tests / bugs / modalg_7 / bug28763
CommitLineData
4b1a2401 1puts "======="
2puts "0028763"
3puts "======="
4puts ""
5##################################################
6# Projection of a short line segment on a polar surface causes exception
7##################################################
8
9beziersurf s 2 2 0 0 0 0 1 0 1 0 0 1 1 0
10line c 0 0 0 1 1 0
11trim c c 0 1e-6
12project result c s
13
14if {![regexp "Trimmed curve" [dump result]]} {
15 puts "Error: Projection not done"
16}
17
18checklength result -l 1.e-6