0025235: Draw Harness - improve commands vdimension and vdimparam
[occt.git] / tests / bugs / vis / bug24133_1
CommitLineData
a6eb515f 1puts "============"
2puts "CR24133"
3puts "============"
4puts ""
5#######################################################################
6# Development of improvement of dimensions implementation
7# Length dimension
8#######################################################################
9pload VISUALIZATION
10
11vinit
12vpoint lengthP1 0 0 0
13vpoint lengthP2 50 50 50
0499eb06 14vdimension dim1 -length -plane xoy -shapes lengthP1 lengthP2
a6eb515f 15vfit
d7bffd44 16vmoveto 82 254
a6eb515f 17
d7bffd44 18set x_coord 362
19set y_coord 102
a6eb515f 20checkcolor $x_coord $y_coord 0 1 1
21if { $stat != 1 } {
22 puts "Error : Highlighting of length dimension is wrong."
23}
24
25set only_screen 1