|
Geometry : |
Subject: [geometry] vtk output beta ready for polygon, ring and multi_polygon
From: Tomislav Maric (tomislav.maric_at_[hidden])
Date: 2013-05-13 07:32:45
Hi everyone,
I've prepared the writers for the ASCII legacy .vtk format to visualize the
models polygon, ring and multi_polygon in 3D in Paraview. Attached is the
image of a multi_polygon rendered in ParaView with indexed outer rings for
each polygon.
I've put up a repo at bitbucket:
https://bitbucket.org/tmaric/boost-geometry-3d
You can get the code like this:
git clone git_at_[hidden]:tmaric/boost-geometry-3d
The .vtk format doesn't allow for polygons with holes, so the output of a polygon
is delegated to the output for its outer ring. The interface is the same as for the
wkt format, but I am not sure about the code and would really appreciate
comments on it.
Best regards,
Tomislav
Geometry list run by mateusz at loskot.net