[vtkusers] How to set the boundary of vtkDelaunay2D ?
David Gobbi
david.gobbi at gmail.com
Sun Sep 27 22:12:13 EDT 2015
On Sun, Sep 27, 2015 at 7:50 PM, zhq <15891495523 at 126.com> wrote:
> Dear David:
>
> Thank you for giving a detail code, but I think the result is weird.
> <http://vtk.1045678.n5.nabble.com/file/n5734151/1.jpg>
>
> I want Delaunay triangulation, but there are lots of triangulation
> which
> obviously is not the Delaunay triangulation. Is there any way to remedy ?
>
Try the attached code. As for myself, I avoid vtkDelaunay2D because I've
found it to be numerically unstable (for certain inputs, it goes into
infinite
recursion and crashes).
- David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150927/90697166/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DelaunayConstraints.cxx
Type: application/octet-stream
Size: 3895 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150927/90697166/attachment.obj>
More information about the vtkusers
mailing list