I have a shapefile of polygons, and wish to calculate the maximum length (parallel to flow) and width (perpendicular to flow) - both straight lines. I calculated the mean aspect (i.e. flow direction) using DEM pixels for each polygon. The image below shows what I'm attempting (mw = width, ml = length).
Any ideas on where to start? I've found the 'Bearing Distance to Line' tool, which could potentially help to draw polylines for each polygon but am unsure regarding this and the rest.