├── .babelrc ├── .editorconfig ├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── jest.config.js ├── package.json ├── rollup.config.js ├── src ├── geom.ts ├── index.ts ├── rtree.ts ├── snap.ts └── types.ts ├── tests ├── geom.test.js └── rtree.test.js ├── tsconfig.json └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylebarron/snap-to-tin/HEAD/.babelrc -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylebarron/snap-to-tin/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylebarron/snap-to-tin/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylebarron/snap-to-tin/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylebarron/snap-to-tin/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylebarron/snap-to-tin/HEAD/README.md -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | testEnvironment: 'node', 3 | }; 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylebarron/snap-to-tin/HEAD/package.json -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylebarron/snap-to-tin/HEAD/rollup.config.js -------------------------------------------------------------------------------- /src/geom.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylebarron/snap-to-tin/HEAD/src/geom.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylebarron/snap-to-tin/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/rtree.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylebarron/snap-to-tin/HEAD/src/rtree.ts -------------------------------------------------------------------------------- /src/snap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylebarron/snap-to-tin/HEAD/src/snap.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylebarron/snap-to-tin/HEAD/src/types.ts -------------------------------------------------------------------------------- /tests/geom.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylebarron/snap-to-tin/HEAD/tests/geom.test.js -------------------------------------------------------------------------------- /tests/rtree.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylebarron/snap-to-tin/HEAD/tests/rtree.test.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylebarron/snap-to-tin/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylebarron/snap-to-tin/HEAD/yarn.lock --------------------------------------------------------------------------------