1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-29 14:00:49 +03:00

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
This commit is contained in:
ifv
2016-04-26 15:00:29 +03:00
committed by bugmaster
parent 745c138678
commit 3ba87fdb66
19 changed files with 2643 additions and 250 deletions

View File

@@ -1,7 +1,7 @@
# test script on make volume operation
# plane sphere
puts "TODO OCC26020 ALL: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO OCC26020 Windows: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO OCC26020 ALL: Error: bopcheck failed"
puts "TODO OCC26020 ALL: Error : The area of result shape is"

View File

@@ -43,4 +43,4 @@ mkface f7 con_f7 0 6.2831853071795862 0 1000000
# make volume operation
mkvolume result f1 f2 f3 f4 f5 f6 f7
checkprops result -s 3.7173e+06
checkprops result -s 3.76654e+06

View File

@@ -1,10 +1,6 @@
# test script on make volume operation
# cone plane killed by cpulimit 300
puts "TODO OCC26020 ALL: Error: bopcheck failed"
puts "TODO OCC26020 ALL: Error : The area of result shape is"
puts "TODO OCC26020 ALL: Faulty shapes in variables faulty_1 to"
# planar face
plane pln_f1 -460.8377555733228 -1160 -121.8751945104883 0.17364817766693036 -5.955424826592936e-017 -0.98480775301220813
erase pln_f1
@@ -43,4 +39,4 @@ mkface f7 con_f7 0 6.2831853071795862 0 1000000
# make volume operation
mkvolume result f1 f2 f3 f4 f5 f6 f7
checkprops result -s 0
checkprops result -s 6.47464e+006

View File

@@ -1,6 +1,3 @@
puts "TODO OCC26020 Linux: Error : The area of result shape is"
puts "TODO OCC26020 Linux: Error: bopcheck failed"
# test script on make volume operation
# cylinder plane

View File

@@ -15,6 +15,6 @@ vclear
isos result 0
triangles result
checktrinfo result -tri 98 -nod 100
checktrinfo result -tri 101 -nod 103
checkprops result -s 150.283
checkview -display result -3d -path ${imagedir}/${test_image}.png

View File

@@ -17,6 +17,6 @@ vfit
isos result 0
triangles result
checktrinfo result -tri 1145 -nod 831
checktrinfo result -tri 1111 -nod 814
checkprops result -s 376.873
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@@ -18,7 +18,7 @@ if (![regexp {WIRE[ ]+: 1} $mlog]) {
}
set mlog [bounding a_1_3]
if (![regexp {(-7.26623440743389) (-8.0984932752388978) (-150.09849327523889) (7.2662344074338865) (8.0984932752388978) (-141.90150672476111)} $mlog]) {
if (![regexp {(-7.1677412321949925) (-8.0000000999999994) (-150.00000009999999) (7.1677412321949898) (8.0000000999999994) (-141.99999990000001)} $mlog]) {
set status 0
}

View File

@@ -13,7 +13,7 @@ catch {pload XDE}
set x1 210
set y1 184
set x2 205
set x2 207
set y2 180
stepread [locate_data_file OCC23012-Sample_3.stp] a *