occt: master 0a96e0bb

Author Committer Branch Timestamp Parent
abv bugmaster master 2018-06-10 19:40:12 master 3388cf17
Affected Issues  0029769: Foundation Classes - Uninitialized data with BSplCLib_Cache, BSplSLib_Cache
Changeset 0029769: Uninitialized data with BSplCLib_Cache, BSplSLib_Cache

Implementation of classes BSplCLib_Cache and BSplSLib_Cache is revised:
- Common functionality dealing with spans along one parametric direction is separated to new struct BSplCLib_CacheParams
- Empty constructors are removed; copying is prohibited
- Code reconsidering degree and other parameters on each call to BuildCache() is eliminated; curve parameters must be the same in constructor and all calls to BuildCache()
- Extra call to BuildCache() from constructor is eliminated
mod - src/BSplCLib/BSplCLib_Cache.cxx Diff File
mod - src/BSplCLib/BSplCLib_Cache.hxx Diff File
add - src/BSplCLib/BSplCLib_CacheParams.hxx Diff File
mod - src/BSplCLib/FILES Diff File
mod - src/BSplSLib/BSplSLib_Cache.cxx Diff File
mod - src/BSplSLib/BSplSLib_Cache.hxx Diff File
mod - src/Geom2dAdaptor/Geom2dAdaptor_Curve.cxx Diff File
mod - src/GeomAdaptor/GeomAdaptor_Curve.cxx Diff File
mod - src/GeomAdaptor/GeomAdaptor_Surface.cxx Diff File