1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

Compare commits

...

1 Commits

Author SHA1 Message Date
akaftasev
551d35ab93 0032839: BRepMesh_IncrementalMesh - The ability to pass progress indication to one of the constructors was not added
Added progress indication to the constructor of the BRepMesh_IncrementalMesh
2022-02-16 13:17:58 +03:00
2 changed files with 5 additions and 3 deletions

View File

@@ -48,7 +48,8 @@ BRepMesh_IncrementalMesh::BRepMesh_IncrementalMesh( const TopoDS_Shape& theSh
const Standard_Real theLinDeflection,
const Standard_Boolean isRelative,
const Standard_Real theAngDeflection,
const Standard_Boolean isInParallel)
const Standard_Boolean isInParallel,
const Message_ProgressRange& theRange)
: myModified(Standard_False),
myStatus(IMeshData_NoError)
{
@@ -58,7 +59,7 @@ BRepMesh_IncrementalMesh::BRepMesh_IncrementalMesh( const TopoDS_Shape& theSh
myParameters.InParallel = isInParallel;
myShape = theShape;
Perform();
Perform(theRange);
}
//=======================================================================

View File

@@ -43,7 +43,8 @@ public: //! @name mesher API
const Standard_Real theLinDeflection,
const Standard_Boolean isRelative = Standard_False,
const Standard_Real theAngDeflection = 0.5,
const Standard_Boolean isInParallel = Standard_False);
const Standard_Boolean isInParallel = Standard_False,
const Message_ProgressRange& theRange = Message_ProgressRange());
//! Constructor.
//! Automatically calls method Perform.