I am having trouble working out the generalisation of this stack overflow post, for an n sided regular polygon. I would simply comment on the linked post, but I unfortunately don't have enough reputation.
The question is relevant to me because I am creating an online survey design tool, where one of the survey components will be a polygon with labeled vertices, featuring a draggable dot placed in the center of the shape. The dot is drag-and-drop-able, where the proximity to each vertex encodes the respondents association towards that vertex. Consider the following example.
For triangles, I can simply use the methods discussed in the above link. In the more general case, there are problems with methods where percentages are directly proportional to distance from the vertex. Consider a pentagon, where the dot is placed very near towards a vertex. The human interpretation would approach (100%, 0%, 0%, 0%, 0%), but when using methods based on vertex distance, I don't get the intuitive percentages, because distance to opposing vertices exceed the distance to adjacent vertices (implying lower %'s, when actually I don't associate highly with the adjacent, or the opposite).