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

0022867: Avoid performing mesh of a singled face model in parallel mode when flag IsParallel is set to true.

This commit is contained in:
azn
2012-03-23 15:31:00 +04:00
committed by bugmaster
parent cf9a910a8a
commit 416d4426c4
9 changed files with 59 additions and 28 deletions

View File

@@ -44,10 +44,11 @@ is
returns IncrementalMesh from BRepMesh;
---C++: alias "Standard_EXPORT virtual ~BRepMesh_IncrementalMesh();"
Create (S : Shape from TopoDS;
D : Real from Standard;
Relatif : Boolean from Standard = Standard_False;
Ang : Real from Standard = 0.5)
Create (S : Shape from TopoDS;
D : Real from Standard;
Relatif : Boolean from Standard = Standard_False;
Ang : Real from Standard = 0.5;
InParallel : Boolean from Standard = Standard_False)
returns IncrementalMesh from BRepMesh;
---Purpose: If the boolean <Relatif> is True, the
-- deflection used for the polygonalisation of

View File

@@ -86,9 +86,10 @@ BRepMesh_IncrementalMesh::BRepMesh_IncrementalMesh()
BRepMesh_IncrementalMesh::BRepMesh_IncrementalMesh (const TopoDS_Shape& theShape,
const Standard_Real theDeflection,
const Standard_Boolean theRelative,
const Standard_Real theAngle)
const Standard_Real theAngle,
const Standard_Boolean theInParallel)
: myRelative (theRelative),
myInParallel (Standard_False),
myInParallel (theInParallel),
myModified (Standard_False),
myStatus (0)
{