occt: master 714c3bfc

Author Committer Branch Timestamp Parent
nbv bugmaster master 2016-02-08 07:01:22 master 6e448ab0
Changeset 0026980: Intersection algorithm spends much system time and system memory

1. Step of Walking-line has been increased as possible and now computes by iteratively adaptive algorithm (every iteration checks if current step is too big/small and decreases/increases one).

2. Interface of IntWalk_PWalking class has been changed
2.1. Method MaxStep() has been added in order to know about maximal distance between 2D-points.
2.2. Method ComputePasInit(...) has been added in order to initial step value computation.
2.3. Fields myTolTang (tolerance for intersection algorithm) and myStepMin (minimal step value) have been added.

Correction of some test cases.
Creation test case for this issue.
Changes to eliminate compiler warnings.
mod - src/IntPatch/IntPatch_Intersection.cxx Diff File
mod - src/IntPatch/IntPatch_PrmPrmIntersection.cxx Diff File
mod - src/IntWalk/IntWalk_PWalking.cxx Diff File
mod - src/IntWalk/IntWalk_PWalking.hxx Diff File
mod - src/IntWalk/IntWalk_StatusDeflection.hxx Diff File
mod - tests/blend/simple/X4 Diff File
mod - tests/bugs/modalg_5/bug24585_1 Diff File
mod - tests/bugs/modalg_5/bug25193 Diff File
add - tests/bugs/modalg_6/bug26980 Diff File
mod - tests/offset/shape/A1 Diff File