minimum_enclosing_box#
- minimum_enclosing_box(coordinates, **kwargs)[source]#
Computes the minimal enclosing box around coordinates.
- Parameters:
- coordinatesNDArray
Coordinates of shape (d,n) to compute the enclosing box of.
- marginNDArray, optional
Box margin, zero by default.
Deprecated since version 0.3.2: Boxed are returned without margin.
- use_geometric_centerbool, optional
Whether box accommodates the geometric or coordinate center, False by default.
Deprecated since version 0.3.2: Boxes always accomodate the coordinate center
- Returns:
- tuple of int
Minimum enclosing box.