This will not always work if the polygon is not convex. M could end up outside
the polygon.
Margus
Remco de Korte wrote:
>
> I don't know if this'll alway work but I would calculate a 'middle'-point (M)
> (adding up aal points in the object and dividing them by the amount of points)
> then step through the row of points connecting two consecutive points to this M
> (creating a triangle.
> Sounds like a fun experimenting thing...
>
> Remco
Post a reply to this message
|