occt: master 8d795b51

Author Committer Branch Timestamp Parent
jgv bugmaster master 2016-09-08 15:20:57 master b1c54665
Changeset 0027720: HLRBrep_Algo BSpline missing edges

    The algorithm that builds outlines ("silhouettes") makes an outline in 2d parametric space of the surface starting from some previously detected point where normal is orthogonal to direction of view. So, the surface is previously discretized into (m*n) sample points and some of them become starting points for future outlines.

    If the surface has non-uniform parametrization and/or some local extremums of curvature, the outlines can not be built without breaks, so there are several groups of consequent outlines in this case. Unfortunately, it leads to the situation when current number of sample points becomes insufficient to build all the parts of outlines.

    The idea is to detect the "holes" between already constructed parts of outlines and then complete the construction.

New auxiliary draw command for testing of HLR.

Correction according to the remarks.

Update of test case according to the developer's directive
mod - src/Contap/Contap_Contour.cxx Diff File
mod - src/Contap/Contap_TheIWalking.hxx Diff File
mod - src/HLRTest/HLRTest.cxx Diff File
mod - src/IntPatch/IntPatch_TheIWalking.hxx Diff File
mod - src/IntSurf/IntSurf_PntOn2S.cxx Diff File
mod - src/IntSurf/IntSurf_PntOn2S.hxx Diff File
mod - src/IntWalk/IntWalk_IWalking_1.gxx Diff File
mod - src/IntWalk/IntWalk_IWalking_2.gxx Diff File
mod - src/IntWalk/IntWalk_IWalking_3.gxx Diff File
mod - src/IntWalk/IntWalk_IWalking_4.gxx Diff File
mod - src/IntWalk/IntWalk_IWalking_6.gxx Diff File
mod - tests/bugs/modalg_6/bug27341_303 Diff File
add - tests/bugs/modalg_6/bug27720_1 Diff File
mod - tests/bugs/modalg_6/bug27720_2 Diff File
add - tests/bugs/modalg_6/bug27720_4 Diff File
add - tests/bugs/modalg_6/bug27720_5 Diff File