0025109: Check PolygonOnTriangulation contained in edges
[occt.git] / tests / bugs / vis / bug24288_1
CommitLineData
938d4544 1puts "============"
2puts "CR24288"
3puts "============"
4puts ""
5#######################################################################
6# Provide a text flipping
7# Test for text flipping after X rotation
8#######################################################################
9pload VISUALIZATION
10
11set m_pi 3,14
12set m_pi2 1,57
13vinit
14vpoint radP1 0 0 0
15vpoint radP2 50 50 0
16vpoint radP3 100 0 0
17vcircle circle radP1 radP2 radP3 0
18vrotate 0 -$m_pi2 0
19verase radP1 radP2 radP3
1d7ca641 20vdimension radius name=dim text=3d circle
938d4544 21vdisplay dim
22vfit
d7bffd44 23vmoveto 110 111
938d4544 24
d7bffd44 25set x_coord 196
26set y_coord 196
938d4544 27checkcolor $x_coord $y_coord 0 1 1
28
29if { $stat != 1 } {
30 puts "Error : Highlighting of radius dimension with 3d text before flipping is wrong."
31}
32
33# X axis rotation
34vrotate $m_pi 0 0
35vfit
d7bffd44 36vmoveto 208 200
938d4544 37
d7bffd44 38set x_coord 295
39set y_coord 113
938d4544 40checkcolor $x_coord $y_coord 0 1 1
41
42if { $stat != 1 } {
43 puts "Error : Highlighting of radius dimension with 3d text with flipping after x rotation is wrong."
44}
45
46set only_screen 1