[vtkusers] get a point inside a vtkPolyData
David Doria
daviddoria at gmail.com
Fri Feb 25 13:10:55 EST 2011
On Fri, Feb 25, 2011 at 1:07 PM, Jonathan Morra <jonmorra at gmail.com> wrote:
> But what if I happen to pick an inflection point, then both could fail.
>
Yea, if you pick a vector tangent to the curve both will be outside the
polygon.
How about
while(both aren't outside the polygon)
{
do the procedure
}
?
vtkSelectEnclosedPoints tries to find if a point is inside a closed surface,
not a contour.
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110225/42ca8c84/attachment.htm>
More information about the vtkusers
mailing list