How to use the @swim/math.BoxR2.empty function in @swim/math

To help you get started, we’ve selected a few @swim/math examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github swimos / swim / swim-system-js / swim-ui-js / @swim / view / main / CanvasViewController.ts View on Github external
get bounds(): BoxR2 {
    const view = this._view;
    return view ? view.bounds : BoxR2.empty();
  }
github swimos / swim / swim-system-js / swim-ui-js / @swim / view / main / GraphicViewController.ts View on Github external
get bounds(): BoxR2 {
    const view = this._view;
    return view ? view.bounds : BoxR2.empty();
  }

@swim/math

Mathematical and geometric structures and operators

Apache-2.0
Latest version published 5 months ago

Package Health Score

68 / 100
Full package analysis

Similar packages