occt: master b8f67cc2

Author Committer Branch Timestamp Parent
nbv bugmaster master 2016-03-29 13:38:53 master 8b9a309b
Changeset 0027302: Invalid curves number in intersection result

1. In frame of the fix for #27282 issue, we have obtained several prolonged curves, which have common point(s). Fix for this issue joins these curves if it is possible.

2. ElCLib::InPeriod(...) method has been improved. Now it has become more faster (in general cases) and more reliable (in frame of FLT_OVERFLOW and DIVISION_BY_ZERO cases processing).

Creation of test case for issue #27302
Test case tests\bugs\modalg_6\bug27282_2 has been adjusted in accordance with its new behavior.
mod - src/ElCLib/ElCLib.cxx Diff File
mod - src/IntPatch/IntPatch_Intersection.cxx Diff File
mod - src/IntPatch/IntPatch_PointLine.hxx Diff File
mod - src/IntPatch/IntPatch_RLine.hxx Diff File
mod - src/IntPatch/IntPatch_RLine.lxx Diff File
mod - src/IntPatch/IntPatch_WLine.hxx Diff File
mod - src/IntPatch/IntPatch_WLine.lxx Diff File
mod - src/IntPatch/IntPatch_WLineTool.cxx Diff File
mod - src/IntPatch/IntPatch_WLineTool.hxx Diff File
mod - tests/bugs/modalg_6/bug27282_2 Diff File
add - tests/bugs/modalg_6/bug27302 Diff File