mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-05 06:10:33 +05:00
small improvement of API
- void ComputeSubMeshStateEngine(int event); + void ComputeSubMeshStateEngine(int event, const bool includeSelf=false);
This commit is contained in:
parent
424975b8a3
commit
e72b1cdc40
@ -1804,9 +1804,9 @@ void SMESH_subMesh::updateSubMeshState(const compute_state theState)
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void SMESH_subMesh::ComputeSubMeshStateEngine(int event)
|
||||
void SMESH_subMesh::ComputeSubMeshStateEngine(int event, const bool includeSelf)
|
||||
{
|
||||
SMESH_subMeshIteratorPtr smIt = getDependsOnIterator(false,false);
|
||||
SMESH_subMeshIteratorPtr smIt = getDependsOnIterator(includeSelf,false);
|
||||
while ( smIt->more() )
|
||||
smIt->next()->ComputeStateEngine(event);
|
||||
}
|
||||
|
@ -210,7 +210,7 @@ public:
|
||||
void DumpAlgoState(bool isMain);
|
||||
|
||||
bool ComputeStateEngine(int event);
|
||||
void ComputeSubMeshStateEngine(int event);
|
||||
void ComputeSubMeshStateEngine(int event, const bool includeSelf=false);
|
||||
|
||||
bool Evaluate(MapShapeNbElems& aResMap);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user