mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +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:
@@ -205,7 +205,7 @@ public:
|
||||
//! Raised if N < 0.
|
||||
Standard_EXPORT Standard_Boolean IsCNv (const Standard_Integer N) const Standard_OVERRIDE;
|
||||
|
||||
//! Returns true if this patch is periodic in the given
|
||||
//! Returns true if this patch is periodic and not trimmed in the given
|
||||
//! parametric direction.
|
||||
Standard_EXPORT Standard_Boolean IsUPeriodic() const Standard_OVERRIDE;
|
||||
|
||||
@@ -215,7 +215,7 @@ public:
|
||||
Standard_EXPORT virtual Standard_Real UPeriod() const Standard_OVERRIDE;
|
||||
|
||||
|
||||
//! Returns true if this patch is periodic in the given
|
||||
//! Returns true if this patch is periodic and not trimmed in the given
|
||||
//! parametric direction.
|
||||
Standard_EXPORT Standard_Boolean IsVPeriodic() const Standard_OVERRIDE;
|
||||
|
||||
|
@@ -173,7 +173,7 @@ public:
|
||||
//! the EndPoint is lower or equal to Resolution from package 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.
|
||||
|
Reference in New Issue
Block a user