0020553: EDF 1148 SMESH: Some nodes are doubled with operation RotationSweepObject

fix sweepElement() after modifs for issue 0020381:
-    if( !issimple[iNode] ) {
+    if( !elem->IsQuadratic() || !issimple[iNode] ) {
This commit is contained in:
eap 2009-10-27 09:05:46 +00:00
parent 6e7e76bc89
commit b4a4f5a0d6

View File

@ -2805,12 +2805,12 @@ void SMESH_MeshEditor::sweepElement(const SMDS_MeshElement* elem,
return;
}
issimple[iNode] = (listNewNodes.size()==nbSteps);
issimple[iNode] = (listNewNodes.size()==nbSteps); // is node medium
itNN[ iNode ] = listNewNodes.begin();
prevNod[ iNode ] = node;
nextNod[ iNode ] = listNewNodes.front();
if( !issimple[iNode] ) {
if( !elem->IsQuadratic() || !issimple[iNode] ) {
if ( prevNod[ iNode ] != nextNod [ iNode ])
iNotSameNode = iNode;
else {