UNPKG
quadtree-ts
Version:
latest (0.0.1)
0.0.1
A simple quad tree implementation in TypeScript
quadtree-ts
/
dist
/
main
/
utils.d.ts
5 lines
(4 loc)
•
245 B
TypeScript
View Raw
1
2
3
4
5
import
{
Point
,
Box
}
from
'./types'
;
export
declare
function
contains
(
box
:
Box
,
point
:
Point
):
boolean
;
export
declare
function
intersects
(
box1
:
Box
,
box2
:
Box
):
boolean
;
export
declare
function
doesFullyContain
(
box1
:
Box
,
box2
:
Box
):
boolean
;