BBox constructor

BBox(
  1. int dims,
  2. List<double> bounds
)

Implementation

BBox(this.dims, this.bounds)
    : assert(bounds.length == 2 * dims, 'bounds must be 2*dims long'),
      assert(_validMinMax(dims, bounds), 'min must be <= max on every axis');