occt: master 84bd2552

Author Committer Branch Timestamp Parent
nbv bugmaster master 2016-09-16 12:31:29 master 5da00540
Changeset 0027875: GeomFill_NSections constructor crash on sequence of curve containing only one curve

The GeomFill_NSections algorithm cannot create any surface from sequence with single curve only.

Therefore, return is provided in corresponding place of the code. Additionally, some public methods of GeomFill_NSections class checks if the surface has been created earlier.

Test case for this issue has been created.

Compiler error has been eliminated.
mod - src/GeomFill/GeomFill_NSections.cxx Diff File
mod - src/QABugs/QABugs_20.cxx Diff File
add - tests/bugs/modalg_6/bug27875 Diff File