]> OCCT Git - occt.git/commit
Modeling - Optimize BndLib and add GTests (#856)
authorPasukhin Dmitry <dpasukhi@opencascade.com>
Thu, 27 Nov 2025 09:22:44 +0000 (09:22 +0000)
committerGitHub <noreply@github.com>
Thu, 27 Nov 2025 09:22:44 +0000 (09:22 +0000)
commitc04f5e0b4c7287872ea1843939d3a835270eafb5
tree2d6565cce4c6e791303548887a9a232dcc5d0d51
parent1663c65625565d11fc4608d2d9eab700d9d0b9a3
Modeling - Optimize BndLib and add GTests (#856)

- Fix negative modulo in torus bounding box computation
- Fix hyperbola extrema loop early break condition
- Fix OpenMin/OpenMax direction sign for infinite bounds
- Remove dead code in cone bounding computation
- Replace sqrt/log with more efficient computations in hyperbola bounds
- General code cleanup and modernization
src/ModelingData/TKGeomBase/BndLib/BndLib.cxx
src/ModelingData/TKGeomBase/BndLib/BndLib_Add2dCurve.cxx
src/ModelingData/TKGeomBase/BndLib/BndLib_Add3dCurve.cxx
src/ModelingData/TKGeomBase/BndLib/BndLib_AddSurface.cxx
src/ModelingData/TKGeomBase/GTests/BndLib_Test.cxx [new file with mode: 0644]
src/ModelingData/TKGeomBase/GTests/FILES.cmake
tests/bugs/step/bug32239