diff --git a/src/meshTools/edgeMesh/edgeMeshFormats/obj/OBJedgeFormat.C b/src/meshTools/edgeMesh/edgeMeshFormats/obj/OBJedgeFormat.C index 5153b212e3..a6ef7f2dae 100644 --- a/src/meshTools/edgeMesh/edgeMeshFormats/obj/OBJedgeFormat.C +++ b/src/meshTools/edgeMesh/edgeMeshFormats/obj/OBJedgeFormat.C @@ -3,7 +3,7 @@ \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation - \\/ M anipulation | + \\/ M anipulation | Copyright (C) 2018 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -27,8 +27,55 @@ License #include "clock.H" #include "Fstream.H" #include "Ostream.H" -#include "StringStream.H" -#include "ListOps.H" +#include "stringOps.H" + +// * * * * * * * * * * * * * * * Local Functions * * * * * * * * * * * * * * // + +namespace Foam +{ + +// Token list with one of the following: +// f v1 v2 v3 ... +// f v1/vt1 v2/vt2 v3/vt3 ... +// l v1 v2 v3 ... +// l v1/vt1 v2/vt2 v3/vt3 ... +static label readObjVertices +( + const SubStrings& tokens, + DynamicList