mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 10:20:34 +05:00
PAL12992. Add type TIDSortedElemSet to be used to assure predictability of edition
This commit is contained in:
parent
686d2fa85d
commit
af7f9c7057
@ -55,7 +55,17 @@ class gp_Vec;
|
|||||||
class gp_Pnt;
|
class gp_Pnt;
|
||||||
|
|
||||||
class SMESH_MeshEditor {
|
class SMESH_MeshEditor {
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
// define a set of elements sorted by ID, to be used to assure
|
||||||
|
// predictability of edition
|
||||||
|
struct TIDCompare {
|
||||||
|
bool operator () (const SMDS_MeshElement* e1, const SMDS_MeshElement* e2)
|
||||||
|
{ return e1->GetID() < e2->GetID(); }
|
||||||
|
};
|
||||||
|
typedef set< const SMDS_MeshElement*, TIDCompare > TIDSortedElemSet;
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
SMESH_MeshEditor( SMESH_Mesh* theMesh );
|
SMESH_MeshEditor( SMESH_Mesh* theMesh );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user