[vtkusers] Filling of polygons with intersecting faces

Imran Ahmed Khan imran.ahmed.khan at gmail.com
Wed Aug 31 09:23:17 EDT 2005


Hi all,

I have been trying to find a way to draw a polygon having interections
in it. But the final polygon drawn on the screen is diffrnet from what
I want to draw.

Consider the following co-ordinates:
1-  (20,20)
2-  (20,50)
3-  (60,50)
4-  (0 ,30)

but when i try to draw it the polygons result in an extra line that
joins the 3rd point with 1st point and colors the area inside it.

Does someone has any idea how to solve this problem.

Regards,
Imran.



More information about the vtkusers mailing list