How can I calculate the “centerline” of an arbitrary polygon? If I have an arbitrary polygon like this: