{"name":"@turf/boolean-intersects","version":"6.4.0","keywords":["turf","intersects","boolean","de-9im"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/boolean-intersects@6.4.0","contributors":[{"name":"Rowan Winsemius","email":"@rowanwins"},{"name":"Denis Carriere","email":"@DenisCarriere"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"1a0b6923de3bf34d5d45dda6e73a7723011f456c","tarball":"http://registry-npm.ywwl.com/@turf/boolean-intersects/download/@turf/boolean-intersects-6.4.0.tgz","fileCount":7,"integrity":"sha512-M594piVs3bmL6cg+iCUFvh0uNgpvyguD3RhXHNCfnnKNV0NlXOk8DBgeNJ6Tg9p7Vnr0aYCHMkgG+6Es/wvzEQ==","signatures":[{"sig":"MEUCIQCuyVk5NCwk4dGLCW3gUtrEjyXMB4ne/77FnOdr80ueqwIgIE1uyV1nIBFCbpL2Qw3k7CTRV7gimENx0oNoppg6mGY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6951,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgy1EbCRA9TVsSAnZWagAAW0oP/j4sU0g2ScWPyOJ9CoaA\nncqV2bXxstQEFOxtSRmblwh30X7MqBH4209D4+AFzvzEL0hVS1zpqL1fWISi\nMWPqODkXVO7Ox9Apl1/xeKNBF+9Hm4F9LU6pyRNF7zs8LGVXV8Ns8PebLFCq\n9wa1dG/vboUQHS5rnIgVeMziEE6YVHETROKg6XpS9FunJQppiccgNyR4XDR9\naXT0UOZGJIA15Rv4uTvbz4E0mVJnbHqZWfrxUwCmeLiGfy8MBMLkME/vzFx6\nMz4ZYNlpT799pNbrLwH8JyTAPMoRLSOsRYxZqG9uUqpV9xy73HNKrrnxySu7\nyEIyrhnJmvBa2yzSFOLHFpew41bINDXsRqgHgkKsxPJb0WsVhOyALVYqVA9E\n20FLEgS2JhCjsB+vLj60X3+FhrIu6bjbaW9yrzJngelYMLs/50Cnfqj6A7ku\n8hbgAVE0ut6Z26uLsZFaX4OhQx0HrffSD8hxjF9+/06GxcZ0/MdDUSdyMW67\nsQoJ6pa/SssJ+StQHLs2Km6fUeRgI1dWQxc7O1B436wQrjWRj7kOYKmFzdjD\nlbRVfzJaDdic55nlUTJg/xGo79BflBJA3R9frZIXyBdQuFJpUPktp5BpA0tU\nw/M+tdHKFBbumQZwMQDnSh+vVrOHAW84Ds8N8NT4eaBzQVP5tO3o/XuFaKuq\nwVGw\r\n=UKQY\r\n-----END PGP SIGNATURE-----\r\n","size":2768,"noattachment":false,"key":"/@turf/boolean-intersects/-/@turf/boolean-intersects-6.4.0.tgz"},"main":"dist/js/index.js","types":"dist/js/index.d.ts","module":"dist/es/index.js","exports":{".":{"import":"./dist/es/index.js","require":"./dist/js/index.js"},"./package.json":"./package.json"},"gitHead":"1e62773cfc88c627cca8effcb5c14cfb65a905ac","scripts":{"docs":"node ../../scripts/generate-readmes","test":"npm-run-all test:*","bench":"ts-node bench.js","build":"npm-run-all build:*","build:es":"tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json","build:js":"tsc","test:tape":"ts-node -r esm test.js"},"_npmUser":{"name":"rowanwins","email":"rowanwins@yahoo.com.au"},"repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v14.14.0+x64 (darwin)","description":"turf boolean-intersects module","directories":{},"sideEffects":false,"_nodeVersion":"14.14.0","dependencies":{"@turf/meta":"^6.4.0","@turf/helpers":"^6.4.0","@turf/boolean-disjoint":"^6.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tape":"*","tslint":"*","ts-node":"*","benchmark":"*","typescript":"*","@types/tape":"*","npm-run-all":"*","load-json-file":"*","boolean-shapely":"*"},"_npmOperationalInternal":{"tmp":"tmp/boolean-intersects_6.4.0_1623937307044_0.13842396781481425","host":"s3://npm-registry-packages"},"readme":"# @turf/boolean-intersects\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n## booleanIntersects\n\nBoolean-intersects returns (TRUE) if the intersection of the two geometries is NOT an empty set.\n\n### Parameters\n\n*   `feature1` **([Geometry][1] | [Feature][2]\\<any>)** GeoJSON Feature or Geometry\n*   `feature2` **([Geometry][1] | [Feature][2]\\<any>)** GeoJSON Feature or Geometry\n*   `options` **[Object][3]** Optional parameters (optional, default `{}`)\n\n    *   `options.ignoreSelfIntersections` **[boolean][4]** ignore self-intersections on input features (optional, default `true`)\n\n### Examples\n\n```javascript\nvar point1 = turf.point([2, 2]);\nvar point2 = turf.point([1, 2]);\nvar line = turf.lineString([[1, 1], [1, 3], [1, 4]]);\n\nturf.booleanIntersects(line, point1);\n//=false\n\nturf.booleanIntersects(line, point2);\n//=true\n\n//addToMap\nvar addToMap = [point1, point2, line];\npoint1.properties['marker-color'] = '#f00'\npoint2.properties['marker-color'] = '#0f0'\n```\n\nReturns **[boolean][4]** true if geometries intersect, false otherwise\n\n[1]: https://tools.ietf.org/html/rfc7946#section-3.1\n\n[2]: https://tools.ietf.org/html/rfc7946#section-3.2\n\n[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object\n\n[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n\n<!-- This file is automatically generated. Please don't edit it directly. If you find an error, edit the source file of the module in question (likely index.js or index.ts), and re-run \"yarn docs\" from the root of the turf project. -->\n\n---\n\nThis module is part of the [Turfjs project](https://turfjs.org/), an open source module collection dedicated to geographic algorithms. It is maintained in the [Turfjs/turf](https://github.com/Turfjs/turf) repository, where you can create PRs and issues.\n\n### Installation\n\nInstall this single module individually:\n\n```sh\n$ npm install @turf/boolean-intersects\n```\n\nOr install the all-encompassing @turf/turf module that includes all modules as functions:\n\n```sh\n$ npm install @turf/turf\n```\n","publish_time":1623937307157,"maintainers":[{"name":"smallsaucepan","email":"james@smallsaucepan.com"},{"name":"morgan.herlocker","email":"morganherlocker@gmail.com"},{"name":"twelch","email":"tim.j.welch@gmail.com"},{"name":"jamesmilneruk","email":"jamesmilner22@hotmail.com"},{"name":"rowanwins","email":"rowanwins@yahoo.com.au"},{"name":"tmcw","email":"tom@macwright.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"}],"_cnpm_publish_time":1623937307157,"dist-tags":{"latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}