-// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
namespace nglib
{
NETGENPLUGIN_DLL_HEADER
+#ifdef NETGEN_V6
+ extern netgen::NgArray<netgen::Point<3> > readedges;
+#else
extern netgen::Array<netgen::Point<3> > readedges;
+#endif
}
namespace
gp_XYZ normal;
if ( SMESH_MeshAlgos::FaceNormal( f, normal ))
{
- TIDSortedElemSet allFaces;
- editor.Reorient2D( allFaces, normal, f );
+ TIDSortedElemSet allFaces, refFaces = { f };
+ editor.Reorient2D( allFaces, normal, refFaces, /*allowNonManifold=*/true );
break;
}
}