a6eb515f |
1 | puts "============" |
2 | puts "CR24133" |
3 | puts "============" |
4 | puts "" |
5 | ####################################################################### |
6 | # Development of improvement of dimensions implementation |
7 | # Radius dimension |
8 | ####################################################################### |
9 | pload VISUALIZATION |
10 | |
11 | vinit |
12 | vpoint radP1 0 0 0 |
13 | vpoint radP2 50 50 0 |
14 | vpoint radP3 100 0 0 |
15 | vcircle circle radP1 radP2 radP3 0 |
16 | verase radP1 radP2 radP3 |
0499eb06 |
17 | vdimension dim1 -radius -shapes circle |
a6eb515f |
18 | vfit |
d7bffd44 |
19 | vmoveto 123 158 |
a6eb515f |
20 | |
d7bffd44 |
21 | set x_coord 112 |
22 | set y_coord 151 |
a6eb515f |
23 | |
24 | checkcolor $x_coord $y_coord 0 1 1 |
25 | |
26 | if { $stat != 1 } { |
27 | puts "Error : Highlighting of radius dimension with 2d text is wrong." |
28 | } |
29 | |
d7bffd44 |
30 | vinit Viewer2/View2 |
31 | vdisplay circle |
0499eb06 |
32 | vdimension dim2 -radius -text 3d -shapes circle |
a6eb515f |
33 | vfit |
d7bffd44 |
34 | vmoveto 191 196 |
a6eb515f |
35 | |
d7bffd44 |
36 | set x_coord 129 |
37 | set y_coord 172 |
a6eb515f |
38 | |
39 | checkcolor $x_coord $y_coord 0 1 1 |
40 | |
41 | if { $stat != 1 } { |
42 | puts "Error : Highlighting of radius dimension with 3d text is wrong." |
43 | } |
44 | |
45 | set only_screen 1 |