1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
ifv 3ba87fdb66 0027352: Optimal axis-aligned bounding box for a shape
Add method for exact calculation of bounding boxes

Modifications made according to remarks.

Small correction of test case for issue CR27352

Small correction of test cases for issue CR27352

Avoid warning on VS2015
2016-07-01 12:40:40 +03:00

43 lines
1.4 KiB
Plaintext

# test script on make volume operation
# cone plane killed by cpulimit 300
# planar face
plane pln_f1 -460.8377555733228 -1160 -121.8751945104883 0.17364817766693036 -5.955424826592936e-017 -0.98480775301220813
erase pln_f1
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f2 -356.99281047643029 -1160.0000000363407 -62.947464405791337 0.95325038083096492 -0.25112060959207222 0.16808376151111856
erase pln_f2
mkface f2 pln_f2 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f3 -474.72960978667726 -1160 -43.090574269511656 0.17364817766693036 -5.955424826592936e-017 -0.98480775301220813
erase pln_f3
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f4 -509.63801218761682 -1160.0000000132397 -89.862931946685592 0.91703127426762765 -0.36456495599572514 0.1616973558068471
erase pln_f4
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f5 0 -899.99999999085912 1.1788428332502699e-013 0 -1 1.1102230246251565e-016
erase pln_f5
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f6 0 -1000 1.289865135722934e-013 0 1 -1.1102230246251565e-016
erase pln_f6
mkface f6 pln_f6 -1000000 1000000 -1000000 1000000
# conical face
cone con_f7 0 161.80722892 0 0 -1 1.1102230246251565e-016 21.380811808638473 0
erase con_f7
mkface f7 con_f7 0 6.2831853071795862 0 1000000
# make volume operation
mkvolume result f1 f2 f3 f4 f5 f6 f7
checkprops result -s 6.47464e+006