mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-05 20:54:17 +05:00
New methods for SMESH_Mesh
GetElementType - returns element type by id
This commit is contained in:
parent
3ef3246244
commit
cf285acaa8
@ -1418,3 +1418,12 @@ ostream& SMESH_Mesh::Dump(ostream& save)
|
|||||||
save << "===========================================================================" << endl;
|
save << "===========================================================================" << endl;
|
||||||
return save;
|
return save;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//=======================================================================
|
||||||
|
//function : GetElementType
|
||||||
|
//purpose : Returns type of mesh element with certain id
|
||||||
|
//=======================================================================
|
||||||
|
SMDSAbs_ElementType SMESH_Mesh::GetElementType( const int id, const bool iselem )
|
||||||
|
{
|
||||||
|
return _myMeshDS->GetElementType( id, iselem );
|
||||||
|
}
|
||||||
|
@ -222,6 +222,8 @@ public:
|
|||||||
bool RemovePropagationChain (const TopoDS_Shape& theMainEdge);
|
bool RemovePropagationChain (const TopoDS_Shape& theMainEdge);
|
||||||
bool BuildPropagationChain (const TopoDS_Shape& theMainEdge);
|
bool BuildPropagationChain (const TopoDS_Shape& theMainEdge);
|
||||||
|
|
||||||
|
SMDSAbs_ElementType GetElementType( const int id, const bool iselem );
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
||||||
ostream& Dump(ostream & save);
|
ostream& Dump(ostream & save);
|
||||||
|
Loading…
Reference in New Issue
Block a user