mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
remove commented code
This commit is contained in:
parent
a59cbfc28e
commit
8ac52f19a5
@ -266,47 +266,6 @@ void SMESH_Mesh::Clear()
|
||||
sm->ComputeStateEngine( SMESH_subMesh::CHECK_COMPUTE_STATE );
|
||||
}
|
||||
}
|
||||
|
||||
// // clear sub-meshes; get ready to re-compute as a side-effect
|
||||
|
||||
// if ( SMESH_subMesh *sm = GetSubMeshContaining( GetShapeToMesh() ) )
|
||||
// {
|
||||
// SMESH_subMeshIteratorPtr smIt = sm->getDependsOnIterator(/*includeSelf=*/true,
|
||||
// /*complexShapeFirst=*/false);
|
||||
// while ( smIt->more() )
|
||||
// {
|
||||
// sm = smIt->next();
|
||||
// TopAbs_ShapeEnum shapeType = sm->GetSubShape().ShapeType();
|
||||
// if ( shapeType == TopAbs_VERTEX || shapeType < TopAbs_SOLID )
|
||||
// // all other shapes depends on vertices so they are already cleaned
|
||||
// sm->ComputeStateEngine( SMESH_subMesh::CLEAN );
|
||||
// // to recompute even if failed
|
||||
// sm->ComputeStateEngine( SMESH_subMesh::CHECK_COMPUTE_STATE );
|
||||
// }
|
||||
// }
|
||||
|
||||
// // clear entities not on sub-meshes
|
||||
|
||||
// SMDS_VolumeIteratorPtr vIt = _myMeshDS->volumesIterator();
|
||||
// while ( vIt->more() )
|
||||
// _myMeshDS->RemoveFreeElement( vIt->next(), 0 );
|
||||
|
||||
// SMDS_FaceIteratorPtr fIt = _myMeshDS->facesIterator();
|
||||
// while ( fIt->more() )
|
||||
// _myMeshDS->RemoveFreeElement( fIt->next(), 0 );
|
||||
|
||||
// SMDS_EdgeIteratorPtr eIt = _myMeshDS->edgesIterator();
|
||||
// while ( eIt->more() )
|
||||
// _myMeshDS->RemoveFreeElement( eIt->next(), 0 );
|
||||
|
||||
// SMDS_NodeIteratorPtr nIt = _myMeshDS->nodesIterator();
|
||||
// while ( nIt->more() ) {
|
||||
// const SMDS_MeshNode * node = nIt->next();
|
||||
// if ( node->NbInverseElements() == 0 )
|
||||
// _myMeshDS->RemoveFreeNode( node, 0 );
|
||||
// else
|
||||
// _myMeshDS->RemoveNode(node);
|
||||
// }
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user