#include "SMDS_FacePosition.hxx"
#include "SMDS_EdgePosition.hxx"
-#include "SMESH_MeshEditor.hxx"
#include <BRepAdaptor_Surface.hxx>
#include <BRepTools.hxx>
TopAbs_ShapeEnum subType( aSh.ShapeType()==TopAbs_FACE ? TopAbs_EDGE : TopAbs_FACE );
SMDSAbs_ElementType elemType( subType==TopAbs_FACE ? SMDSAbs_Face : SMDSAbs_Edge );
+ int nbOldLinks = myNLinkNodeMap.size();
+
TopExp_Explorer exp( aSh, subType );
for (; exp.More() && myCreateQuadratic; exp.Next()) {
if ( SMESHDS_SubMesh * subMesh = meshDS->MeshElements( exp.Current() )) {
}
}
+ if ( nbOldLinks == myNLinkNodeMap.size() )
+ myCreateQuadratic = false;
+
if(!myCreateQuadratic) {
myNLinkNodeMap.clear();
}