occt: master 00302ba4

Author Committer Branch Timestamp Parent
nbv apn master 2014-02-06 07:12:09 master ec0cdc0e
Changeset 0024472: Wrong section curves

1. Checking, if intersection curve is collapsed, is added. (file GeomInt_LineConstructor.cxx)
2. Earlier, intersection line was considered as valid if only mid-point of every interval of this line is into two intersected surfaces (with given tolerance). That's no good because after inserting of new points, old points, which is considered as valid only because they are into beginning or into end of interval (therefore, they was not checked), moved to mid of interval and became invalid. Therefore, checking for first and last points was added. (file GeomInt_LineConstructor.cxx)
3. Intersection line became valid (see bug description) after adding of new additional points into it (file IntPatch_PrmPrmIntersection.cxx). Methods for finding and adding of new points were added. (file IntWalk_PWalking_1.gxx)
Some test cases were changed.
Test cases for issue CR24472
mod - src/GeomInt/GeomInt_IntSS.cxx Diff File
mod - src/GeomInt/GeomInt_LineConstructor.cxx Diff File
mod - src/IntPatch/IntPatch_PrmPrmIntersection.cxx Diff File
mod - src/IntWalk/IntWalk_PWalking.cdl Diff File
mod - src/IntWalk/IntWalk_PWalking_1.gxx Diff File
mod - tests/bugs/modalg_1/bug19793_2 Diff File
mod - tests/bugs/modalg_4/pro19653 Diff File
add - tests/bugs/modalg_5/bug24299 Diff File
add - tests/bugs/modalg_5/bug24472 Diff File
mod - tests/bugs/moddata_1/bug13 Diff File