mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-24 08:20:34 +05:00
IPAL54614: Getting nodes of polyhedron works wrong
Source https://salome-platform.org/forum/forum_10/633516704
This commit is contained in:
parent
db6f1785f5
commit
c76543a1ab
@ -88,7 +88,7 @@ const SMDS_MeshNode* SMDS_MeshVolume::GetNode(const int ind) const
|
||||
{
|
||||
int nodesInFace = ptIds[id];
|
||||
if ( ind < nbPoints + nodesInFace )
|
||||
return GetMesh()->FindNodeVtk( ptIds[ ind + i ]);
|
||||
return GetMesh()->FindNodeVtk( ptIds[ 1 + ind + i ]);
|
||||
nbPoints += nodesInFace;
|
||||
id += (nodesInFace + 1);
|
||||
}
|
||||
|
@ -754,7 +754,7 @@ bool SMESH::SelectionProxy::perFaceConnectivity( int id, Connectivity& connectiv
|
||||
SMESH::long_array_var nodes = mesh->GetElemFaceNodes( id, iF );
|
||||
for ( CORBA::ULong iN = 0; iN < nodes->length(); ++iN )
|
||||
{
|
||||
connectivity[ iF ] << nodes[iN];
|
||||
connectivity[ iF+1 ] << nodes[iN];
|
||||
nodeSet << nodes[iN];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user