]> OCCT Git - occt-copy.git/commit
0028085: Incorrect result of CUT operation
authornbv <nbv@opencascade.com>
Tue, 17 Jul 2018 09:32:14 +0000 (12:32 +0300)
committermpv <mpv@opencascade.com>
Tue, 18 Sep 2018 14:31:36 +0000 (17:31 +0300)
commit2b58e5605ab4fef2db40839739c90b6123f7f46a
tree2e538508d81ba6e19490c868230effebb4d0da18
parentf87605022cf74aad984901fc82ed3382525c27b6
0028085: Incorrect result of CUT operation

Before the fix, small arc of circle returned as intersection result. It was connected with the fact that the circle always was limited in 0 and 2*PI points. Currently the bounds of the circle (retrieved as an intersection curve) are computed from the real domain of the arguments (there is not a snap to the fixed 0 and 2*PI points).

(cherry picked from commit 94783b5111cbefcedf4f6eae72e7cd3b78c7b13b)
src/GeomInt/GeomInt_LineConstructor.cxx
tests/bugs/modalg_7/bug28085_1 [new file with mode: 0644]
tests/bugs/modalg_7/bug28085_2 [new file with mode: 0644]
tests/bugs/modalg_7/bug28883_2