occt: master ff3f0387

Author Committer Branch Timestamp Parent
abv abv master 2017-05-10 14:22:18 master 1709b024
Changeset 0028724: Extrema between circle and plane cannot be found

The main reason of the regression is that the Extrema algorithm finds the truth extrema point but cannot adjust it to the range of given circle. It is connected with the fact that Geom(2d)Adaptor_Curve::IsPeriodic() method returns false for given circle because adaptor contains a piece of the circle which is not closed.

New algorithm of IsPeriodic() method will return the information about periodicity of the curve itself (independently of first and last parameter of adaptor).

The documentation about Geom(2d)_TrimmedCurve and Geom_RectangularTrimmedSurface has been updated in frame of the information about IsPeriodic-methods.
mod - dox/dev_guides/upgrade/upgrade.md Diff File
mod - src/Geom/Geom_RectangularTrimmedSurface.hxx Diff File
mod - src/Geom/Geom_TrimmedCurve.hxx Diff File
mod - src/Geom2d/Geom2d_TrimmedCurve.hxx Diff File
mod - src/Geom2dAdaptor/Geom2dAdaptor_Curve.cxx Diff File
mod - src/GeomAdaptor/GeomAdaptor_Curve.cxx Diff File
mod - src/GeomFill/GeomFill_NSections.cxx Diff File
add - tests/bugs/modalg_6/bug28724 Diff File