1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-06 18:26:22 +03:00

0024157: Parallelization of assembly part of BO

The branch deals with the parallelization of Post-Treatment part of the Builder
This commit is contained in:
pkv 2014-04-22 11:16:46 +04:00 committed by apn
parent 85bcc07243
commit c26b5a34bc
3 changed files with 699 additions and 470 deletions

View File

@ -362,7 +362,6 @@ void BOPAlgo_Builder::PerformInternal(const BOPAlgo_PaveFiller& theFiller)
//======================================================================= //=======================================================================
void BOPAlgo_Builder::PostTreat() void BOPAlgo_Builder::PostTreat()
{ {
//BRepLib::SameParameter(myShape, 1.e-7, Standard_True); BOPTools_AlgoTools::CorrectTolerances(myShape, 0.05, myRunParallel);
BOPTools_AlgoTools::CorrectTolerances(myShape, 0.05); BOPTools_AlgoTools::CorrectShapeTolerances(myShape, myRunParallel);
BOPTools_AlgoTools::CorrectShapeTolerances(myShape);
} }

View File

@ -286,7 +286,9 @@ is
CorrectTolerances (myclass; CorrectTolerances (myclass;
theS: Shape from TopoDS; theS: Shape from TopoDS;
theTolMax: Real from Standard =0.0001); theTolMax: Real from Standard =0.0001;
theRunParallel: Boolean from Standard=Standard_False);
---Purpose: ---Purpose:
--- Provides valid values of tolerances for the shape <theS> --- Provides valid values of tolerances for the shape <theS>
--- <theTolMax> is max value of the tolerance that can be --- <theTolMax> is max value of the tolerance that can be
@ -296,14 +298,16 @@ is
--- ---
CorrectCurveOnSurface (myclass; CorrectCurveOnSurface (myclass;
theS: Shape from TopoDS; theS: Shape from TopoDS;
theTolMax: Real from Standard =0.0001); theTolMax: Real from Standard =0.0001;
theRunParallel: Boolean from Standard=Standard_False);
---Purpose: ---Purpose:
--- Provides valid values of tolerances for the shape <theS> --- Provides valid values of tolerances for the shape <theS>
--- in terms of BRepCheck_InvalidCurveOnSurface. --- in terms of BRepCheck_InvalidCurveOnSurface.
--- ---
CorrectPointOnCurve (myclass; CorrectPointOnCurve (myclass;
theS: Shape from TopoDS; theS: Shape from TopoDS;
theTolMax: Real from Standard =0.0001); theTolMax: Real from Standard =0.0001;
theRunParallel: Boolean from Standard=Standard_False);
---Purpose: ---Purpose:
--- Provides valid values of tolerances for the shape <theS> --- Provides valid values of tolerances for the shape <theS>
--- in terms of BRepCheck_InvalidPointOnCurve. --- in terms of BRepCheck_InvalidPointOnCurve.
@ -437,7 +441,8 @@ is
--- ---
CorrectShapeTolerances (myclass; CorrectShapeTolerances (myclass;
theS: Shape from TopoDS); theS: Shape from TopoDS;
theRunParallel: Boolean from Standard=Standard_False);
---Purpose: ---Purpose:
--- Corrects tolerance values of the sub-shapes of the shape <theS> if needed. --- Corrects tolerance values of the sub-shapes of the shape <theS> if needed.
--- ---

File diff suppressed because it is too large Load Diff