mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 17:30:35 +05:00
fix MultiConnection2D for quardratic faces
This commit is contained in:
parent
1dd2517e39
commit
cf684038a4
@ -1378,7 +1378,12 @@ void MultiConnection2D::GetValues(MValues& theValues){
|
||||
SMDS_FaceIteratorPtr anIter = myMesh->facesIterator();
|
||||
for(; anIter->more(); ){
|
||||
const SMDS_MeshFace* anElem = anIter->next();
|
||||
SMDS_ElemIteratorPtr aNodesIter = anElem->nodesIterator();
|
||||
SMDS_ElemIteratorPtr aNodesIter;
|
||||
if ( anElem->IsQuadratic() )
|
||||
aNodesIter = static_cast<const SMDS_QuadraticFaceOfNodes*>
|
||||
(anElem)->interlacedNodesElemIterator();
|
||||
else
|
||||
aNodesIter = anElem->nodesIterator();
|
||||
long aNodeId[3];
|
||||
|
||||
//int aNbConnects=0;
|
||||
|
Loading…
Reference in New Issue
Block a user