occt: master d30895f5

Author Committer Branch Timestamp Parent
nbv apn master 2016-09-23 14:24:52 master fe4fc02d
Affected Issues  0023178: Intersection of cylinders fails to produce results
Changeset 0023178: Intersection of cylinders fails to produce results

1. Unification of trimmed and not-trimmed cylinders processing (IntPatch_Intersection::GeomGeomPerfomTrimSurf() method has been removed).
2. Interface of IntPatch_ImpImpIntersection::Perform(...) method has been changed.
3. Now, WLine purging is forbidden for Geom-Geom-Intersection.
4. Bnd_Range class has been created. See Bnd_Range.hxx for detail information.
5. Algorithm of AddBoundaryPoint function has been improved in order to obtain intersection points in both boundaries (VFirst and VLast of every surface).
6. Earlier, method Geom2dConvert::ConcatG1(...) increased resulted B-spline degree (in case of not succession of previous iteration). Now increased value has been limited by Geom2d_BSplineCurve::MaxDegree() value (max degree = 25).
7. Algorithm of B-spline closure definition has been changed in the methods Geom2dConvert::C0BSplineToC1BSplineCurve(...) and Geom2dConvert::C0BSplineToArrayOfC1BSplineCurve(...).

Creation of test case for this issue.
Adjusting test cases according to their new behavior.

Small correction in the code according to KGV's remark.
add - src/Bnd/Bnd_Range.cxx Diff File
add - src/Bnd/Bnd_Range.hxx Diff File
mod - src/Bnd/FILES Diff File
mod - src/BSplCLib/BSplCLib_2.cxx Diff File
mod - src/Geom2dConvert/Geom2dConvert.cxx Diff File
mod - src/IntPatch/IntPatch_ImpImpIntersection.hxx Diff File
mod - src/IntPatch/IntPatch_ImpImpIntersection_1.gxx Diff File
mod - src/IntPatch/IntPatch_ImpImpIntersection_2.gxx Diff File
mod - src/IntPatch/IntPatch_ImpImpIntersection_4.gxx Diff File
mod - src/IntPatch/IntPatch_Intersection.cxx Diff File
mod - src/IntPatch/IntPatch_Intersection.hxx Diff File
mod - src/IntPatch/IntPatch_WLineTool.cxx Diff File
mod - src/IntPatch/IntPatch_WLineTool.hxx Diff File
mod - tests/blend/simple/Q6 Diff File
mod - tests/bugs/modalg_5/bug25742_2 Diff File
add - tests/bugs/modalg_6/bug23178 Diff File
mod - tests/bugs/modalg_6/bug27310_2 Diff File
mod - tests/bugs/modalg_6/bug27766 Diff File