pub fn min_area_rect<T>(points: &[Point<T>]) -> [Point<T>; 4]
Expand description
Finds the rectangle of least area that includes all input points. This rectangle need not be axis-aligned.
The returned points are the [top left, top right, bottom right, bottom left] points of this rectangle.