Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9fbd2b
)
make GetNodesId() return sorted ids
author
eap
<eap@opencascade.com>
Thu, 14 Oct 2010 11:09:22 +0000
(11:09 +0000)
committer
eap
<eap@opencascade.com>
Thu, 14 Oct 2010 11:09:22 +0000
(11:09 +0000)
src/SMESH_I/SMESH_Mesh_i.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_Mesh_i.cxx
b/src/SMESH_I/SMESH_Mesh_i.cxx
index bb8c8b4971c2b3dd79466ff4a500ca73d7717dd2..de07a09f7e89aa40c746e7bebefaa99e9853e59e 100644
(file)
--- a/
src/SMESH_I/SMESH_Mesh_i.cxx
+++ b/
src/SMESH_I/SMESH_Mesh_i.cxx
@@
-2788,7
+2788,7
@@
SMESH::long_array* SMESH_Mesh_i::GetNodesId()
long nbNodes = NbNodes();
aResult->length( nbNodes );
- SMDS_NodeIteratorPtr anIt = aSMESHDS_Mesh->nodesIterator();
+ SMDS_NodeIteratorPtr anIt = aSMESHDS_Mesh->nodesIterator(
/*idInceasingOrder=*/true
);
for ( int i = 0, n = nbNodes; i < n && anIt->more(); i++ )
aResult[i] = anIt->next()->GetID();