ENH: objToVTK: output lines

This commit is contained in:
mattijs
2013-12-05 16:41:39 +00:00
parent 06cf864261
commit 101aa4e6f4

View File

@ -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)
{