project<R extends Point<num>> method

  1. @override
Bounds<R> project<R extends Point<num>>(
  1. Projection projection, {
  2. required CreatePosition<R> to,
})
override

Returns a new object with all points projected using projection.

Target points of R are created using to as a point factory.

Implementation

@override
Bounds<R> project<R extends Point>(
  Projection projection, {
  required CreatePosition<R> to,
}) =>
    BoundsBase(
      min: min.project(projection, to: to),
      max: max.project(projection, to: to),
    );