-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
77 lines (71 loc) · 1.92 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
"use_strict";
const bboxArea = require("./bbox-area.js");
const bboxArray = require("./bbox-array.js");
const bboxPoint = require("./bbox-point.js");
const bboxSize = require("./bbox-size.js");
const booleanContains = require("./boolean-contains.js");
const booleanContainsPoint = require("./boolean-contains-point.js");
const booleanIntersects = require("./boolean-intersects.js");
const booleanRectangle = require("./boolean-rectangle.js");
const calc = require("./calc.js");
const calcAll = require("./calc-all.js");
const densePolygon = require("./dense-polygon.js");
const grid = require("./grid.js");
const intersect = require("./intersect.js");
const merge = require("./merge.js");
const polygon = require("./polygon.js");
const preciseDensePolygon = require("./precise/dense-polygon.js");
const preciseDivide = require("./precise/divide.js");
const preciseReproject = require("./precise/reproject.js");
const reproject = require("./reproject.js");
const scale = require("./scale.js");
const shift = require("./shift.js");
const sort = require("./sort.js");
const split = require("./split.js");
const validate = require("./validate.js");
const preciseValidate = require("./precise/validate.js");
const union = require("./union.js");
const unwrap = require("./unwrap.js");
const bboxfns = {
bboxArea,
bboxArray,
bboxPoint,
bboxSize,
booleanContains,
booleanContainsPoint,
booleanIntersects,
booleanRectangle,
calc,
calcAll,
densePolygon,
grid,
intersect,
merge,
polygon,
preciseDensePolygon,
preciseDivide,
preciseReproject,
reproject,
scale,
shift,
split,
validate,
preciseValidate,
sort,
union,
unwrap
};
if (typeof define === "function" && define.amd) {
define(function () {
return bboxfns;
});
}
if (typeof module === "object") {
module.exports = bboxfns;
}
if (typeof window === "object") {
window.bboxfns = bboxfns;
}
if (typeof self === "object") {
self.bboxfns = bboxfns;
}