mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0029645: Hang on making pipe shell using BRepOffsetAPI_MakePipeShell
Added new boolean parameter to GeomLib::FuseIntervals() to select method of defining an element with close values
This commit is contained in:
@@ -882,7 +882,7 @@ Standard_Real GeomFill_CorrectedFrenet::GetAngleAT(const Standard_Real Param) co
|
||||
|
||||
frenet->Intervals(FrenetInt, S);
|
||||
EvolAroundT->Intervals(LawInt, S);
|
||||
GeomLib::FuseIntervals(FrenetInt, LawInt, Fusion);
|
||||
GeomLib::FuseIntervals(FrenetInt, LawInt, Fusion, Precision::PConfusion(), Standard_True);
|
||||
|
||||
return Fusion.Length()-1;
|
||||
}
|
||||
@@ -913,7 +913,7 @@ Standard_Real GeomFill_CorrectedFrenet::GetAngleAT(const Standard_Real Param) co
|
||||
|
||||
frenet->Intervals(FrenetInt, S);
|
||||
EvolAroundT->Intervals(LawInt, S);
|
||||
GeomLib::FuseIntervals(FrenetInt, LawInt, Fusion);
|
||||
GeomLib::FuseIntervals(FrenetInt, LawInt, Fusion, Precision::PConfusion(), Standard_True);
|
||||
|
||||
for(Standard_Integer i = 1; i <= Fusion.Length(); i++)
|
||||
T.ChangeValue(i) = Fusion.Value(i);
|
||||
|
@@ -692,7 +692,7 @@ Standard_Boolean
|
||||
myCurve->Intervals(TrimInt, tmpS);
|
||||
|
||||
TColStd_SequenceOfReal Fusion;
|
||||
GeomLib::FuseIntervals(TrimInt, mySngl->Array1(), Fusion);
|
||||
GeomLib::FuseIntervals(TrimInt, mySngl->Array1(), Fusion, Precision::PConfusion(), Standard_True);
|
||||
|
||||
return Fusion.Length() - 1;
|
||||
}
|
||||
@@ -726,7 +726,7 @@ Standard_Boolean
|
||||
myCurve->Intervals(TrimInt, tmpS);
|
||||
|
||||
TColStd_SequenceOfReal Fusion;
|
||||
GeomLib::FuseIntervals(TrimInt, mySngl->Array1(), Fusion);
|
||||
GeomLib::FuseIntervals(TrimInt, mySngl->Array1(), Fusion, Precision::PConfusion(), Standard_True);
|
||||
|
||||
for (Standard_Integer i = 1; i <= Fusion.Length(); i++)
|
||||
T.ChangeValue(i) = Fusion.Value(i);
|
||||
|
Reference in New Issue
Block a user