[vtkusers] How to set the boundary of vtkDelaunay2D ?

David Gobbi david.gobbi at gmail.com
Sat Sep 26 21:05:43 EDT 2015


In the VTK source code:

   Filters/General/Testing/Cxx/TestContourTriangulator.cxx
   Filters/General/Testing/Cxx/TestContourTriangulatorCutter.cxx
   Filters/General/Testing/Cxx/TestContourTriangulatorMarching.cxx

 - David


On Sat, Sep 26, 2015 at 6:49 PM, zhq <15891495523 at 126.com> wrote:

> Hi David:
>
>    I find that the vtkContourTriangulator is worked on 3D data. How to
> triangulate a set of 2D points? Could you please give me an example if
> there
> is one ?
>
> ZhangQiang
>
> David Gobbi wrote
> > Hi Zhang,
> >
> > You can try vtkContourTriangulator.  It requires that the inner circle is
> > wound in the opposite direction to the outer circle.
> >
> >  - David
> >
> > On Sat, Sep 26, 2015 at 9:11 AM, zhq <
>
> > 15891495523@
>
> >> wrote:
> >
> >>
> >>    In fact, I want to get a result like:
> >> <http://vtk.1045678.n5.nabble.com/file/n5734143/2.png>
> >>
> >>    And the vtkDelaunay2D maybe can't give me what I want. Because it
> >> "triangulate all of the points except the region inside the boundary of
> >> the
> >> polygon". So it may cause the illegal line which inside the inner
> circle.
> >>
> >>    If somebody know which class is ok for my need ?
> >>
> >>    Thank you very much !
> >>
> >> ZhangQiang
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150926/eabbb829/attachment.html>


More information about the vtkusers mailing list