mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: objToVTK: output lines
This commit is contained in:
@ -210,6 +210,14 @@ int main(int argc, char *argv[])
|
||||
outFile << pt.x() << ' ' << pt.y() << ' ' << pt.z() << nl;
|
||||
}
|
||||
|
||||
outFile
|
||||
<< "VERTICES " << points.size() << ' ' << (2 * points.size()) << nl;
|
||||
|
||||
forAll(points, i)
|
||||
{
|
||||
outFile << 1 << ' ' << i << nl;
|
||||
}
|
||||
|
||||
label nItems = 0;
|
||||
forAll(polyLines, polyI)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user