[Insight-users] Polygon cell
Luis Ibanez
luis.ibanez at kitware.com
Fri Jan 20 15:56:10 EST 2006
Hi Yan,
* Do you want the polygon to be convex ?
* Do you want it to include all your points as vertices ?
* Could the convex hull of the points work for you ?
You may want to take a look at the vtkHull class
http://www.vtk.org/doc/release/4.0/html/classvtkHull.html
and vtkDelaunay2D
http://www.vtk.org/doc/nightly/html/classvtkDelaunay2D.html
Note that these are VTK classes.
We don't have equivalents in ITK yet.
Regards,
Luis
--------------
Yan Yang wrote:
> Hi All,
>
> Is there anybody know how to create a polygon from a set of unordered
> points?
>
> Many thanks in advance.
>
> Regards,
>
> Yan
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list