mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0026365: Optimization of work of OSD_Parallel class members for GeomLib_CheckCurveOnSurface
Removed workaround within GeomLib_CheckCurveOnSurface.
This commit is contained in:
@@ -90,7 +90,7 @@ class BOPAlgo_FaceSelfIntersect :
|
||||
//
|
||||
virtual void Perform() {
|
||||
BOPAlgo_Algo::UserBreak();
|
||||
IntTools_FaceFace::Perform(myF, myF);
|
||||
IntTools_FaceFace::Perform (myF, myF, myRunParallel);
|
||||
}
|
||||
//
|
||||
protected:
|
||||
@@ -428,6 +428,7 @@ void BOPAlgo_CheckerSI::CheckFaceSelfIntersection()
|
||||
|
||||
BOPAlgo_FaceSelfIntersect& aFaceSelfIntersect = aVFace.Appended();
|
||||
//
|
||||
aFaceSelfIntersect.SetRunParallel (myRunParallel);
|
||||
aFaceSelfIntersect.SetIndex(i);
|
||||
aFaceSelfIntersect.SetFace(aF);
|
||||
aFaceSelfIntersect.SetTolF(aTolF);
|
||||
|
@@ -180,7 +180,7 @@ class BOPAlgo_FaceFace :
|
||||
myTrsf = aTrsf.Inverted();
|
||||
}
|
||||
|
||||
IntTools_FaceFace::Perform (aF1, aF2);
|
||||
IntTools_FaceFace::Perform (aF1, aF2, myRunParallel);
|
||||
}
|
||||
catch (Standard_Failure const&)
|
||||
{
|
||||
@@ -292,6 +292,7 @@ void BOPAlgo_PaveFiller::PerformFF()
|
||||
//
|
||||
BOPAlgo_FaceFace& aFaceFace=aVFaceFace.Appended();
|
||||
//
|
||||
aFaceFace.SetRunParallel (myRunParallel);
|
||||
aFaceFace.SetIndices(nF1, nF2);
|
||||
aFaceFace.SetFaces(aF1, aF2);
|
||||
aFaceFace.SetBoxes (myDS->ShapeInfo (nF1).Box(), myDS->ShapeInfo (nF2).Box());
|
||||
|
Reference in New Issue
Block a user