0024351: Test cases for AIS dimension presentations to check arrow orientation, text...
[occt.git] / tests / bugs / vis / bug24133_2
index 3242426..d9a321c 100644 (file)
@@ -12,7 +12,7 @@ vinit
 vpoint angleP1 0 0 0
 vpoint angleP2 50 50 50
 vpoint angleP3 50 50 100
-vdim -angle -name=dim1 angleP1 angleP2 angleP3
+vdimension angle name=dim1 angleP1 angleP2 angleP3
 vdisplay dim1
 vfit
 vmoveto 249 206
@@ -25,14 +25,15 @@ checkcolor $x_coord $y_coord 0 1 1
 if { $stat != 1 } {
    puts "Error : Highlighting of angle dimension with 2d text is wrong."
 }
-verase dim1
-vdim -angle -name=dim2 -text=3d angleP1 angleP2 angleP3
+vinit Viewer2/View2
+vdisplay angleP1 angleP2 angleP3
+vdimension angle name=dim2 text=3d angleP1 angleP2 angleP3
 vdisplay dim2
 vfit
 vmoveto 263 251
 
-set x_coord 332
-set y_coord 326
+set x_coord 335
+set y_coord 319
 
 checkcolor $x_coord $y_coord 0 1 1