mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0030590: Wrong result of Boolean Cut algorithm
Modification in static method BoundedArc of IntStart_SearchOnBoundaries: add exact intersection of canonical curve-surface (when Func is IntPatch_ArcFunction).
This commit is contained in:
@@ -954,6 +954,10 @@ Standard_Boolean Adaptor3d_CurveOnSurface::IsClosed() const
|
||||
|
||||
Standard_Boolean Adaptor3d_CurveOnSurface::IsPeriodic() const
|
||||
{
|
||||
if (myType == GeomAbs_Circle ||
|
||||
myType == GeomAbs_Ellipse)
|
||||
return Standard_True;
|
||||
|
||||
return myCurve->IsPeriodic();
|
||||
}
|
||||
|
||||
@@ -964,6 +968,10 @@ Standard_Boolean Adaptor3d_CurveOnSurface::IsPeriodic() const
|
||||
|
||||
Standard_Real Adaptor3d_CurveOnSurface::Period() const
|
||||
{
|
||||
if (myType == GeomAbs_Circle ||
|
||||
myType == GeomAbs_Ellipse)
|
||||
return (2.*M_PI);
|
||||
|
||||
return myCurve->Period();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user