I've used the Delaunay (2D and 3D) classes in the visualization toolkit
(VTK) before. You could just download the source, and extract the few
classes that you would need. It's C++ though.
www.kitware.com
Drew McCormack
On Tuesday, May 13, 2003, at 08:41 PM, Alvaro Fernandez wrote:
> Hope somebody out there can enlighten me…
>
>
>
> I’m looking for a decent routine to create an unstructured grid for
> use in an FEA type of application.
>
>
>
> I had been hoping that Matlab’s Delaunay() function might do the
> trick, but I’m perplexed by the requirement that the points not be
> collinear. Certainly there are grids (admittedly trivial) where the
> points _are_ collinear. This led me to the fear that maybe Delaunay is
> not the appropriate algorithm here. Any suggestions? I would prefer
> that the algorithm express the triangles like Matlab – two arrays nx1
> x and y, and an integer array of indices mx3, m < n.
>
>
>
> Alvaro Fernandez
>
>
>
>
|