mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 01:58:22 +08:00
Added protection on a void box to methods Bnd_OBB::Add() to escape taking into account "heap trash" coordinates of a void box.
16 lines
380 B
Plaintext
16 lines
380 B
Plaintext
puts "============"
|
|
puts "0030704: Oriented bounding box (Bnd_OBB) gives a wrong result if a box is added to a void box"
|
|
puts "============"
|
|
|
|
pload QAcommands
|
|
|
|
set ret1 [OCC30704]
|
|
if { ${ret1} != "150 150 150" } {
|
|
puts "Error: add bounding box to void bounding box"
|
|
}
|
|
|
|
set ret2 [OCC30704_1]
|
|
if { ${ret2} != "100 200 300" } {
|
|
puts "Error: add point to void bounding box"
|
|
}
|