@NogDogMar 08.2011 — #I suspect that you will want to calculate the vertices. Off the top of my head I'm not sure how I would do that, other than start googling or polygon algorithms and such until I found something. ?
@blue-eye-labsMar 08.2011 — #if it is a simple regular polygon this is simple (I am assuming it is since you're using a radius).
Basically, look at the polygon like a circle. Vertices are placed regularly around the circle at 2π/N radian intervals (where N is the number of sides).
In re finding is something is inside or outside, one can look at the polygon as a series of triangles with lines mappable to functions of (x,y). You can then test whether a point is inside or outside the line.
You'd have to sit down and do some maths though. Enjoy.