bbox-match

0.1.0 • Public • Published

bbox-match

npm version XO code style

Just match bboxes.

INITIAL AND NAIVE IMPLEMENTATION

Installation

npm install bbox-match

Usage

const bboxMatch = require('bbox-match')
 
const match = bboxMatch([
  { name: 'A', bbox: [0, 0, 1, 1] },
  { name: 'B', bbox: [0.5, 0.5, 2, 2] }
])
 
console.log(match([0.1, 0.1, 1.05, 1.05]).name)
// => 'A'

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i bbox-match

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • jdesboeufs