# vertices-bounding-box

> Computes the bounding box of a set of vertices

Latest version **1.0.0** (published 2015-03-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install vertices-bounding-box
pnpm add vertices-bounding-box
yarn add vertices-bounding-box
bun add vertices-bounding-box
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2015-03-01 |
| First published | 2015-03-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | thibauts |
| Maintainers | thibauts |
| Keywords | bounding-box, bounding, box, vertices, mesh |

## Links

- npm: https://www.npmjs.com/package/vertices-bounding-box
- Repository: https://github.com/thibauts/vertices-bounding-box
- Issues: https://github.com/thibauts/vertices-bounding-box/issues
- npm.io page: https://npm.io/package/vertices-bounding-box

## Alternatives

- [react-native-root-siblings](https://npm.io/package/react-native-root-siblings.md) — 102.9K weekly downloads
- [@praxisui/dialog](https://npm.io/package/@praxisui/dialog.md) — 2.0K weekly downloads
- [easy-toggle-state](https://npm.io/package/easy-toggle-state.md) — 350 weekly downloads
- [ngx-lightbox-evp](https://npm.io/package/ngx-lightbox-evp.md) — 19 weekly downloads
- [react-native-modal-translucent-axton](https://npm.io/package/react-native-modal-translucent-axton.md) — 4 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2015-03-01

## README

vertices-bounding-box
=====================
### Computes the bounding box of a set of vertices

Works with vertices of arbitrary dimension.

Install
-------

```bash
$ npm install vertices-bounding-box
```

Usage
-----

```javascript
var boundingBox = require('vertices-bounding-box');

var positions = [ 
  [-1,  0,  0],
  [ 1,  0, -1],
  [ 0, -1,  0],
  [ 0,  1,  1] 
];

var bb = boundingBox(positions);

console.log(bb);
/*
[
  [ -1, -1, -1 ], 
  [  1,  1,  1 ] 
]
*/
```

---
_Source: https://npm.io/package/vertices-bounding-box · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
