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.
The polygon represents the crater edge of a volcano with no islands so the polygon can have an irregular shape.