[vtkusers] get a point inside a vtkPolyData

David Doria daviddoria at gmail.com
Fri Feb 25 12:47:32 EST 2011


On Fri, Feb 25, 2011 at 12:45 PM, Jonathan Morra <jonmorra at gmail.com> wrote:

> I'm not sure how I'd use this.  Also, I don't have a vtkPolygon, but
> vtkPolyData.
>

Since the points in your PolyData are a contour, I'm assuming they are
ordered? If so, you can make them into a Polygon:

http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Polygon
<http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Polygon>
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110225/5eab6185/attachment.htm>


More information about the vtkusers mailing list