]> OCCT Git - occt.git/commit
0033866: Foundation Classes - BVH::SurfaceCalculator::Area() fails to calculate area... CR33866
authoroan <oan@opencascade.com>
Thu, 30 Jan 2025 15:35:15 +0000 (15:35 +0000)
committeroan <oan@opencascade.com>
Thu, 30 Jan 2025 15:35:15 +0000 (15:35 +0000)
commita552a72514d70a4d9157105f6769fe23cf7ac0ba
treea2165d305622ac2536b16540405fadec5588c263
parentbef42e89ef9fac7920af6ce40b74a1ff39352a9b
0033866: Foundation Classes - BVH::SurfaceCalculator::Area() fails to calculate area of transformed box

Use absolute values of intermediate calculations to compute surface area of a box, so they do not diminish each other.
src/BVH/BVH_Box.hxx