A PhD student approached me recently asking how one would determine the longest straight line that passes through the centroid of a polygon, the output being a polyline rather than just a table of numbers. The polyline would be within the polygon starting at the edge at one end, passing through the centroid, and then end at the opposite edge. Does anyone know how to calculate this? I'm surprised (but I guess I'm showing my ignorance) that this is not some interface in ArcObjects.
I would have posted an image to explain what I am asking (I hope it is clear) but as a newbie to this site I was not allowed to upload images!
The polygon represents the crater edge of a volcano with no islands so the polygon can have an irregular shape.