diff --git a/src/edgeMesh/extendedFeatureEdgeMesh/extendedFeatureEdgeMesh.C b/src/edgeMesh/extendedFeatureEdgeMesh/extendedFeatureEdgeMesh.C index 4eb8f662fc..f94715922b 100644 --- a/src/edgeMesh/extendedFeatureEdgeMesh/extendedFeatureEdgeMesh.C +++ b/src/edgeMesh/extendedFeatureEdgeMesh/extendedFeatureEdgeMesh.C @@ -24,11 +24,11 @@ License \*---------------------------------------------------------------------------*/ #include "extendedFeatureEdgeMesh.H" +#include "surfaceFeatures.H" #include "triSurface.H" #include "Random.H" #include "Time.H" #include "meshTools.H" -#include "linePointRef.H" #include "ListListOps.H" #include "OFstream.H" #include "IFstream.H" @@ -232,364 +232,59 @@ Foam::extendedFeatureEdgeMesh::extendedFeatureEdgeMesh { // Extract and reorder the data from surfaceFeatures - // References to the surfaceFeatures data - const triSurface& surf(sFeat.surface()); - const pointField& sFeatLocalPts(surf.localPoints()); - const edgeList& sFeatEds(surf.edges()); - // Filling the extendedFeatureEdgeMesh with the raw geometrical data. - label nFeatEds = sFeat.featureEdges().size(); + const triSurface& surf = sFeat.surface(); + const labelList& featureEdges = sFeat.featureEdges(); + const labelList& featurePoints = sFeat.featurePoints(); - DynamicList tmpPts; - edgeList eds(nFeatEds); - DynamicList norms; - vectorField edgeDirections(nFeatEds); - labelListList edgeNormals(nFeatEds); - DynamicList