ENH: OBJstream: relaxed input

This commit is contained in:
mattijs
2014-01-27 12:28:18 +00:00
parent 8acfa4692a
commit 85c60ecc34
2 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2012-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2012-2014 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -223,7 +223,7 @@ Foam::Ostream& Foam::OBJstream::write(const point& pt, const vector& n)
}
Foam::Ostream& Foam::OBJstream::write(const edge& e, const pointField& points)
Foam::Ostream& Foam::OBJstream::write(const edge& e, const UList<point>& points)
{
write(points[e[0]]);
write(points[e[1]]);
@ -290,7 +290,7 @@ Foam::Ostream& Foam::OBJstream::write
Foam::Ostream& Foam::OBJstream::write
(
const face& f,
const pointField& points,
const UList<point>& points,
const bool lines
)
{

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2012-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2012-2014 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -130,7 +130,7 @@ public:
Ostream& write(const point&, const vector&);
//- Write edge as points with line
Ostream& write(const edge&, const pointField&);
Ostream& write(const edge&, const UList<point>&);
//- Write line
Ostream& write(const linePointRef&);
@ -150,7 +150,7 @@ public:
Ostream& write
(
const face&,
const pointField&,
const UList<point>&,
const bool lines = true
);