[−][src]Function imageproc::geometry::min_area_rect
pub fn min_area_rect<T>(points: &[Point<T>]) -> [Point<T>; 4] where
T: NumCast + Copy + Ord,
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.