1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

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.
This commit is contained in:
nbv
2017-05-10 17:22:18 +03:00
committed by abv
parent 1709b02450
commit ff3f03870b
8 changed files with 47 additions and 21 deletions

View File

@@ -172,7 +172,7 @@ public:
//! gp.
Standard_EXPORT Standard_Boolean IsClosed() const Standard_OVERRIDE;
//! Returns true if the basis curve of this trimmed curve is periodic.
//! Always returns FALSE (independently of the type of basis curve).
Standard_EXPORT Standard_Boolean IsPeriodic() const Standard_OVERRIDE;
//! Returns the period of the basis curve of this trimmed curve.