[vtkusers] polygon fill / PointInPolygon

chensiqi pidanchen at hotmail.com
Mon Dec 15 20:30:18 EST 2008


 
Hi, VTKers
 
I wonder if there is any Polygon fill algorithm implemented in VTKPolygon class? 
 
If not, maybe Loop through all the points using PointInPolygon is the only way I can think of.
 
Is that " n " in the parameter list of PointInpolygon the normal direction? How to estimate it?
int vtkPolygon::PointInPolygon (double x[3], int numPts, double *pts, double bounds[6], double *n) 
 
Thanks for your help.
 
Siqi
 

_________________________________________________________________
超炫人气榜给您所有偶像的最新资讯和排名,快来支持自己的偶像!
http://cnweb.search.live.com/xrank/results.aspx?q=%e5%91%a8%e6%9d%b0%e4%bc%a6&FORM=MSNH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081216/7cb4c21a/attachment.htm>


More information about the vtkusers mailing list