Computes the minimum area oriented bounding box (OBB) for a set of 2D vertices.
The function projects the vertices onto their convex hull, iterates over each edge,
rotates the hull so the edge aligns with the x-axis, and finds the bounding box
with the smallest area. The resulting OBB is returned as four vertices sorted
counterclockwise starting from the bottom-left corner.
Computes the minimum area oriented bounding box (OBB) for a set of 2D vertices. The function projects the vertices onto their convex hull, iterates over each edge, rotates the hull so the edge aligns with the x-axis, and finds the bounding box with the smallest area. The resulting OBB is returned as four vertices sorted counterclockwise starting from the bottom-left corner.