If (as in my case) you just want the starting point to be the middle top of the polygon rather than the middle right, flip the sin and cos calls and change Ycenter + to Ycenter - on both places (leaving it as a sum rather than a difference of the values results in it starting with a point at the bottom of the resultant shape). Programarea Web cu Microsoft.NET by Radu1989 in Types > Books - Non-fiction > Travel et programarea web cu microsoft.net

*Mar 09, 2012 · a point is within a polygon if and only if its y-value is within the range of the projected polygon on the y-axis and the x-value of the point is below odd number of polygon edges. I will not prove this mathematically, but quick look at few examples will convince yourself that this is true. Notice that this observation is valid for holes too.*This banner text can have markup.. Home; web; books; video; audio; software; images; Toggle navigation