Hey ;D
I have a problem with a current project I’m working on and I havn’t been able to come up with a decent solution for quite some time now ???
The problem is this:
I have a Polygon object in two dimensions and I wish to find the Waypoint objects for this Polygon object. The waypoints are positioned such that if each waypoints was connected to its neighbor they should form a new Polygon whose lines are parallel to the original Polygon and are 10 units away.
i have tried finding the centre and extending a line from the centre through each point of the polygon but this does not work for Polygons which are convex or have an irregular shape. Surely there is an easy solution to this problem :-. Efficiency is not terribly important as the waypoint positions are precalculated in my application.
Thanks in advance
Simon ;D