[vtkusers] Constrained triangulation for Delaunay2D

Terence Lim tlim at mda.ca
Wed Oct 3 13:03:39 EDT 2001


Thank you for your suggestion. To follow up on what you suggested, is the
following correct?

vtkPoints *xyz =vtkPoints::New();
xyz->InsertPoint(...);
.
.
.
vtkPolyData *PolyData = vtkPolyData::New();
PolyData->SetPoints(xyz);
vtkDelaunay2D *Delaunay = vtkDelaunay2D::New();
Delaunay->SetInput(PolyData);
Delanay->SetSource(PolyData);<--Will this input guarantee a constrained
Delaunay Triangulation?

I not confident that this is the correct method to create a constrained
triangulation as I had not defined any lines or polygons anywhere in my code
and I am certain that it is neccessary to do so.  Any ideas would be greatly
appreciated.

Thanks

-Terence


-----Original Message-----
From: Sylvain Jaume [mailto:jaume at tele.ucl.ac.be]
Sent: October 3, 2001 12:32 AM
To: Terence Lim
Cc: vtkusers at public.kitware.com
Subject: Re: [vtkusers] Constrained triangulation for Delaunay2D


try SetSource in vtkDelaunay2D

Sylvain

On Tue, 2 Oct 2001, Terence Lim wrote:

> Hi,
>
> Can Delaunay2D perform constrained triangulation? I have gone through the
> archives and it seems as though it cannot be done.  Am I wrong? If so,
could
> you please shed some light on how to do it?
>
> Thanks
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>





More information about the vtkusers mailing list