]> OCCT Git - occt-copy.git/commit
0027074: Support of multi-span cache in Geom[2d]Adaptor
authorazv <azv@opencascade.com>
Fri, 5 Aug 2016 12:21:34 +0000 (15:21 +0300)
committerabv <abv@opencascade.com>
Sat, 25 Feb 2017 07:04:57 +0000 (10:04 +0300)
commitbe887d7884d4c14a3b0763c357506ae046e4e2a9
tree16665a24a238bff7fb3b9ec97f4514f943d50a96
parent97f3782bb01c0baab2a6c4fb51e22f6eb6b12c78
0027074: Support of multi-span cache in Geom[2d]Adaptor

The multi-span cache is stored as matrix (for surface) or vector (for curves) of caches. Each cell corresponds to a span. The cache is initialized on first call and destroyed when adaptor is destroyed.

1. Multi-span cache for curve and surfaces.
2. Revision of BSplSLib_Cache and small improvements.
3. Renew cache when loading same curve/surface into adaptor.
4. Optimizations for single-span cache
5. Remove unused constructors in BSpl*Lib_Cache classes
6. Allocate cache on first call, not when loading a curve/surface
7. Note in upgrade.md about multi-span implementation
25 files changed:
dox/dev_guides/upgrade/upgrade.md
src/BSplCLib/BSplCLib_Cache.cxx
src/BSplCLib/BSplCLib_Cache.hxx
src/BSplCLib/BSplCLib_MultiSpanCache.gxx [new file with mode: 0644]
src/BSplCLib/BSplCLib_MultiSpanCache.hxx [new file with mode: 0644]
src/BSplCLib/FILES
src/BSplSLib/BSplSLib_Cache.cxx
src/BSplSLib/BSplSLib_Cache.hxx
src/BSplSLib/BSplSLib_MultiSpanCache.cxx [new file with mode: 0644]
src/BSplSLib/BSplSLib_MultiSpanCache.hxx [new file with mode: 0644]
src/BSplSLib/FILES
src/Geom2dAdaptor/Geom2dAdaptor_Curve.cxx
src/Geom2dAdaptor/Geom2dAdaptor_Curve.hxx
src/GeomAdaptor/GeomAdaptor_Curve.cxx
src/GeomAdaptor/GeomAdaptor_Curve.hxx
src/GeomAdaptor/GeomAdaptor_Surface.cxx
src/GeomAdaptor/GeomAdaptor_Surface.hxx
src/QABugs/QABugs_19.cxx
tests/blend/simple/Q6
tests/bugs/modalg_6/bug25613_1
tests/bugs/modalg_6/bug25613_2
tests/de/step_2/R2
tests/de/step_2/T1
tests/perf/bspline/hugenurbs [new file with mode: 0644]
tests/perf/bspline/multispan [new file with mode: 0644]