minimum_enclosing_box#
- minimum_enclosing_box(coordinates, margin=None, use_geometric_center=False)[source]#
Computes the minimal enclosing box around coordinates with margin.
- Parameters:
- coordinatesNDArray
Coordinates of shape (d,n) to compute the enclosing box of.
- marginNDArray, optional
Box margin, zero by default.
- use_geometric_centerbool, optional
Whether box accommodates the geometric or coordinate center, False by default.
- Returns:
- tuple of ints
Minimum enclosing box shape.