]> OCCT Git - occt.git/commit
Foundation Classes, math_DoubleTab - Rework to NCollection container (#607)
authorPasukhin Dmitry <dpasukhi@opencascade.com>
Sun, 13 Jul 2025 09:58:44 +0000 (10:58 +0100)
committerGitHub <noreply@github.com>
Sun, 13 Jul 2025 09:58:44 +0000 (10:58 +0100)
commitceafdb0436f3deed46935d59f5c4c67c7b4d75f6
treed2f0eff70e866aa5d2a0fd9898ebe6b4ba7bfd6d
parent878cd2f6d6d18e8b9fd5954e51efb8b6118e8be8
Foundation Classes, math_DoubleTab - Rework to NCollection container (#607)

- Refactors `math_DoubleTab` to use `NCollection_Array2` as its underlying container
- Eemoves the old C‐array implementation, and updates collection classes to improve move semantics and bounds manipulation.
- Rework `math_DoubleTab` to wrap `NCollection_Array2`, with buffer optimization for small sizes
- Enhance `NCollection_Array2` and `NCollection_Array1` with proper move semantics and bound‐updating methods
- Remove legacy `.lxx`/`.cxx` implementations, add tests and update CMake file lists
13 files changed:
src/FoundationClasses/TKMath/GTests/FILES.cmake
src/FoundationClasses/TKMath/GTests/math_DoubleTab_Test.cxx [new file with mode: 0644]
src/FoundationClasses/TKMath/math/FILES.cmake
src/FoundationClasses/TKMath/math/math_DoubleTab.cxx [deleted file]
src/FoundationClasses/TKMath/math/math_DoubleTab.hxx
src/FoundationClasses/TKMath/math/math_DoubleTab.lxx [deleted file]
src/FoundationClasses/TKMath/math/math_Matrix.hxx
src/FoundationClasses/TKMath/math/math_Matrix.lxx
src/FoundationClasses/TKernel/GTests/FILES.cmake
src/FoundationClasses/TKernel/GTests/NCollection_Array1_Test.cxx
src/FoundationClasses/TKernel/GTests/NCollection_Array2_Test.cxx [new file with mode: 0644]
src/FoundationClasses/TKernel/NCollection/NCollection_Array1.hxx
src/FoundationClasses/TKernel/NCollection/NCollection_Array2.hxx