]> OCCT Git - occt.git/commit
Foundation Classes - ElSLib, ElCLib Angle normalization refactor (#813)
authorPasukhin Dmitry <dpasukhi@opencascade.com>
Sun, 9 Nov 2025 14:13:24 +0000 (14:13 +0000)
committerGitHub <noreply@github.com>
Sun, 9 Nov 2025 14:13:24 +0000 (14:13 +0000)
commit27e61c089c5908dba54afae4ca7fe2bf793a2881
tree2265b80f83df59a22c489c0ed2d7825c501c1a3f
parent9309eb9c2d31a4d3c1341a8f79f09f9978dde63c
Foundation Classes - ElSLib, ElCLib Angle normalization refactor (#813)

- Introduced a centralized `normalizeAngle()` function in both ElSLib.cxx and ElCLib.cxx with special handling for values near zero and the 2π seam
- Replaced multiple instances of inline angle normalization code with calls to the new function
- Migrated the OCC24945 bug test from Draw Harness to GTest framework
- Updated expected test values to reflect the improved normalization behavior
src/Draw/TKQADraw/QABugs/QABugs_19.cxx
src/FoundationClasses/TKMath/ElCLib/ElCLib.cxx
src/FoundationClasses/TKMath/ElSLib/ElSLib.cxx
src/ModelingData/TKGeomBase/GTests/Extrema_ExtPC_Test.cxx [new file with mode: 0644]
src/ModelingData/TKGeomBase/GTests/FILES.cmake
tests/bugs/moddata_3/bug24945 [deleted file]