mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-10 16:16:54 +08:00
0032330: Modeling Algorithms - Extend Offset algorithm with Progress Indicator and User Break
Add progress indicator to BRepOffset_MakeOffset::MakeOffsetShape().
This commit is contained in:
@@ -41,14 +41,15 @@ void BRepOffsetAPI_MakeOffsetShape::PerformByJoin
|
||||
const Standard_Boolean Intersection,
|
||||
const Standard_Boolean SelfInter,
|
||||
const GeomAbs_JoinType Join,
|
||||
const Standard_Boolean RemoveIntEdges)
|
||||
const Standard_Boolean RemoveIntEdges,
|
||||
const Message_ProgressRange& theRange)
|
||||
{
|
||||
NotDone();
|
||||
myLastUsedAlgo = OffsetAlgo_JOIN;
|
||||
|
||||
myOffsetShape.Initialize (S,Offset,Tol,Mode,Intersection,SelfInter,
|
||||
Join, Standard_False, RemoveIntEdges);
|
||||
myOffsetShape.MakeOffsetShape();
|
||||
myOffsetShape.MakeOffsetShape(theRange);
|
||||
|
||||
if (!myOffsetShape.IsDone())
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user