]> OCCT Git - occt.git/commit
Modeling, BSplineCache - Improve parameter validation logic #829
authorKirill Gavrilov <kirill@sview.ru>
Mon, 17 Nov 2025 09:58:40 +0000 (09:58 +0000)
committerdpasukhi <dpasukhi@opencascade.com>
Mon, 17 Nov 2025 11:14:05 +0000 (11:14 +0000)
commit1a246afa2e14e0523e574602e76c862b4875c4e7
treece1a6ea84ac9859ecc0701c0ac7eebaba679b21a
parentc2375c78a69412e297bc997be798122fe4e9675f
Modeling, BSplineCache - Improve parameter validation logic #829

- Enhanced the parameter validation logic in BSplCLib_CacheParams to ensure correct handling of edge cases.
- Added checks for floating point precision when determining if the next knot should be used.
- Improved code readability by restructuring the return conditions.
src/FoundationClasses/TKMath/BSplCLib/BSplCLib_CacheParams.hxx