atereshi
f9990707fe
0033187: Modeling Algorithms - Crash in postprocessing of imported shape
...
Problem: Desynchronization of behaviors of GeomAdaptor_Curve::NbIntervals and
GeomAdaptor_Curve::Intervals functions. First calculates number of intervals, then
array is created and second fills the array. In some cases the size of array
is less than need for filling.
Change:
1. Added function BSplCLib::Intervals that calculates number of interval and fills
the array with its (if needed).
2. Simplified the algorithm of intervals calculation.
3. GeomAdaptor_Curve::NbIntervals/Intervals and Geom2dAdaptor_Curve::NbIntervals/Intervals
use BSplCLib::Intervals.
4. When creating an adapter for the base curve, the boundaries of the adapter for the offset curve are applied.
5. Test for problem shape was created: bugs modalg_8 bug33187.
Result: The new approach eliminates the problem of writing outside the array bounds.
2022-11-21 19:53:59 +03:00
..
2022-11-21 19:53:59 +03:00
2022-11-21 19:53:59 +03:00
2022-11-21 19:53:59 +03:00
2022-11-21 19:53:59 +03:00
2022-11-21 19:53:59 +03:00
2022-11-21 19:53:59 +03:00
2022-11-21 19:53:59 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2022-10-31 18:21:44 +03:00
2022-10-31 18:08:24 +03:00
2022-09-16 18:35:32 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2020-03-12 19:29:23 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2022-09-16 18:34:44 +03:00
2022-09-16 18:34:44 +03:00
2022-09-16 18:34:44 +03:00
2022-09-16 18:34:44 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2021-05-26 20:09:15 +03:00
2022-09-16 18:35:32 +03:00
2021-07-15 20:05:10 +03:00
2021-05-26 20:09:15 +03:00
2021-07-15 20:05:10 +03:00
2021-05-26 20:09:15 +03:00
2021-07-15 20:05:10 +03:00
2019-09-02 19:16:38 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2022-10-31 18:21:44 +03:00
2022-09-16 18:35:32 +03:00
2022-10-31 18:08:24 +03:00
2022-10-31 18:08:24 +03:00
2022-10-31 18:08:24 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2022-09-16 18:35:32 +03:00
2022-10-31 18:08:24 +03:00
2022-10-31 18:08:24 +03:00
2022-09-16 18:35:32 +03:00
2022-10-31 18:08:24 +03:00
2022-09-16 18:35:32 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2022-10-31 18:08:24 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2019-08-16 12:16:36 +03:00
2022-01-10 19:42:11 +03:00
2020-03-06 15:54:46 +03:00