I agree - it seems like terrible documentation that I can&#39;t figure out what &#39;n&#39; is supposed to be??<br><br><div class="gmail_quote">On Mon, Dec 15, 2008 at 8:30 PM, chensiqi <span dir="ltr">&lt;<a href="mailto:pidanchen@hotmail.com">pidanchen@hotmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<div>
&nbsp;<br>
Hi, VTKers<br>
&nbsp;<br>
I wonder if there is any Polygon fill algorithm implemented in VTKPolygon class? <br>
&nbsp;<br>
If not, maybe Loop through all the points using PointInPolygon is the only way I can think of.<br>
&nbsp;<br>
Is that &quot; n &quot; in the parameter list of PointInpolygon the normal direction? How to estimate it?<br>
int vtkPolygon::<b>PointInPolygon</b> (double x[3], int numPts, double *pts, double bounds[6], double *n) <br>
&nbsp;<br>
Thanks for your help.<br>
&nbsp;<br>
Siqi<br>
&nbsp;<br>
<br><br><hr>更多热辣资讯尽在新版MSN首页! <a href="http://cn.msn.com/" target="_blank">立刻访问!</a></div>
<br>_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Thanks,<br><br>David<br>