0031492: BRepBuilderAPI_MakeFace crashes on a wire
[occt.git] / tests / bugs / modalg_7 / bug30949
CommitLineData
0904aa63 1puts "============="
2puts "0030949: Foundation Classes - Dump improvement for OCCT classes"
3puts "============="
4
5set px 1
6set py 2
7set pz 3
8
9vertex vv $px $py $pz
10set log [bounding vv -obb -dumpJson]
11
12if {![regexp {"gp_XYZ": \[+([-0-9.+eE]+)\, +([-0-9.+eE]+)\, +([-0-9.+eE]+)} $log full xc yc zc]} {
13 puts "Error in DumpJson."
14}
15
16checkreal "XC" $xc $px 1.0e-7 0.0
17checkreal "YC" $yc $py 1.0e-7 0.0
18checkreal "ZC" $zc $pz 1.0e-7 0.0