<div class="gmail_quote">On Fri, Feb 25, 2011 at 1:07 PM, Jonathan Morra <span dir="ltr"><<a href="mailto:jonmorra@gmail.com">jonmorra@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
But what if I happen to pick an inflection point, then both could fail.<div><div></div><div class="h5"></div></div></blockquote></div><br><div><meta http-equiv="content-type" content="text/html; charset=utf-8">Yea, if you pick a vector tangent to the curve both will be outside the polygon.</div>
<div><br></div><div>How about</div><div><br></div><div>while(both aren't outside the polygon)</div><div>{</div><div> do the procedure</div><div>}</div><div><br></div><div>?</div><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">vtkSelectEnclosedPoints tries to find if a point is inside a closed surface, not a contour.</span></div>
<div><br>David</div>