mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-14 02:30:33 +05:00
0020279: [CEA 334] control the "random" use when using mesh algorithms
Compare TNode's by node ID
This commit is contained in:
parent
966f6ecf06
commit
eb2c096f8e
@ -84,7 +84,7 @@ struct TNode
|
|||||||
bool IsNeighbor( const TNode& other ) const;
|
bool IsNeighbor( const TNode& other ) const;
|
||||||
|
|
||||||
TNode(const SMDS_MeshNode* node = 0): myNode(node), myParams(-1,-1,-1) {}
|
TNode(const SMDS_MeshNode* node = 0): myNode(node), myParams(-1,-1,-1) {}
|
||||||
bool operator < (const TNode& other) const { return myNode < other.myNode; }
|
bool operator < (const TNode& other) const { return myNode->GetID() < other.myNode->GetID(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
// ===============================================================
|
// ===============================================================
|
||||||
@ -433,7 +433,6 @@ private:
|
|||||||
|
|
||||||
// map of bottom nodes to the column of nodes above them
|
// map of bottom nodes to the column of nodes above them
|
||||||
// (the column includes the bottom node)
|
// (the column includes the bottom node)
|
||||||
typedef std::map< TNode, TNodeColumn > TNode2ColumnMap;
|
|
||||||
TNode2ColumnMap myBotToColumnMap;
|
TNode2ColumnMap myBotToColumnMap;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user