From f9ec26bada1af88de1dc098b6675ac6c8f36569a Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Fri, 7 Nov 2008 22:01:23 +0100 Subject: [PATCH] use triFace when triangulating surfaces --- .../fileFormats/ac3d/AC3DfileFormat.C | 12 +++--- .../fileFormats/gts/GTSfileFormat.C | 15 +++---- .../fileFormats/nas/NASfileFormat.C | 15 +++---- .../fileFormats/obj/OBJfileFormat.C | 39 ++++++++++--------- .../fileFormats/obj/OBJfileFormat.H | 6 +-- .../fileFormats/off/OFFfileFormat.C | 11 +++--- .../fileFormats/off/OFFfileFormat.H | 2 +- .../fileFormats/stl/STLfileFormat.C | 13 ++++--- .../fileFormats/stl/STLfileFormatASCII.L | 8 ++-- .../fileFormats/tri/TRIfileFormat.C | 8 ++-- .../keyedSurface/keyedSurfaceCleanup.C | 4 +- .../meshedSurface/meshedSurfaceCleanup.C | 3 +- src/surfMesh/surfGroup/surfGroup.C | 4 +- src/surfMesh/surfGroup/surfGroup.H | 6 +-- 14 files changed, 75 insertions(+), 71 deletions(-) diff --git a/src/surfMesh/keyedSurface/fileFormats/ac3d/AC3DfileFormat.C b/src/surfMesh/keyedSurface/fileFormats/ac3d/AC3DfileFormat.C index 2fd4b9e3ca..c3e39b765d 100644 --- a/src/surfMesh/keyedSurface/fileFormats/ac3d/AC3DfileFormat.C +++ b/src/surfMesh/keyedSurface/fileFormats/ac3d/AC3DfileFormat.C @@ -25,10 +25,12 @@ License \*---------------------------------------------------------------------------*/ #include "AC3DfileFormat.H" +#include "triFace.H" #include "clock.H" #include "IFstream.H" #include "IStringStream.H" #include "tensor.H" +#include "triFace.H" #include "primitivePatch.H" #include "addToRunTimeSelectionTable.H" #include "addToMemberFunctionSelectionTable.H" @@ -231,9 +233,9 @@ Foam::fileFormats::AC3DfileFormat::AC3DfileFormat // Start of vertices for object/patch label patchVertOffset = 0; - DynamicList pointLst; - DynamicList faceLst; - DynamicList