1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0021593: Small improvement

New parameter for BRepMesh; Test case
This commit is contained in:
oan
2014-12-03 11:51:58 +03:00
committed by bugmaster
parent c0bd0de183
commit a319f03ff9
8 changed files with 137 additions and 50 deletions

View File

@@ -103,6 +103,18 @@ public: //! @name accessing to parameters.
return myInParallel;
}
//! Enables/disables internal vertices mode.
inline void SetInternalVerticesMode(const Standard_Boolean isEnabled)
{
myInternalVerticesMode = isEnabled;
}
//! Returns flag indicating is internal vertices mode enabled/disabled.
inline Standard_Boolean IsInternalVerticesMode() const
{
return myInternalVerticesMode;
}
public: //! @name plugin API
//! Plugin interface for the Mesh Factories.
@@ -193,6 +205,7 @@ protected:
Standard_Real myMaxShapeSize;
Standard_Integer myStatus;
NCollection_Vector<TopoDS_Face> myFaces;
Standard_Boolean myInternalVerticesMode;
};
DEFINE_STANDARD_HANDLE(BRepMesh_IncrementalMesh,BRepMesh_DiscretRoot)