1 Attachment(s)
OK...try and do better...
I redid the pic to try and make things clearer.
But I want to calculate this from the coordinates, and the knowledge of the number of sides in the polygon (and hence the angles in each triangle).
The value is a+b, which is relatively easy to get (I think), but how do you translate this if the point isn't in the first segment?
(Also, the coordinate system is not related to the graph scale, so a ratio will have to be used, that is ratio of a+b to the full scale of the chart).
http://www.vbforums.com/attachment.p...postid=1701031