diff --git a/src/meshTools/meshTools/meshTools.C b/src/meshTools/meshTools/meshTools.C index 2cb27c39c7..5c98fe087b 100644 --- a/src/meshTools/meshTools/meshTools.C +++ b/src/meshTools/meshTools/meshTools.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -215,6 +215,20 @@ void Foam::meshTools::writeOBJ } +void Foam::meshTools::writeOBJ +( + Ostream& os, + const triad& t, + const point& pt +) +{ + forAll(t, dirI) + { + writeOBJ(os, pt, pt + t[dirI]); + } +} + + void Foam::meshTools::writeOBJ ( Ostream& os, @@ -248,57 +262,6 @@ void Foam::meshTools::writeOBJ } -void Foam::meshTools::writeOBJ -( - Ostream& os, - const faceList& faces, - const pointField& points, - const labelList& faceLabels -) -{ - Map