[vtkusers] 2D Constructive Geometry

Dominik Szczerba dominik at itis.ethz.ch
Wed Nov 19 02:09:22 EST 2008

GNU GTS is what you need here.


marice at knology.net wrote:
> Hello -
> Is it possible to use VTK to construct a "surface" from a bunch of coplanar partially overlapping triangles? I have a bunch of triangles that I'd like to union together. After adding all the triangles, I need to get the outer contours (there could be several, since the triangles may form several disjoint "surfaces") and the "holes" (if a "surface" is closed, a hole is an area inside the surface not covered by a triangle).
> Basically, I'd like to use VTK to do some constructive 2D geometry using triangles and "union", "intersection", and "difference" operations - and I need it to handle holes.
> Is this possible with VTK? If so, can someone point me in the right direction?
> Thanks.
> Michael
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

Dominik Szczerba, PhD
Computational Physics Group
IT'IS Foundation

More information about the vtkusers mailing list