{"name":"@turf/boolean-crosses","version":"6.2.0-alpha.2","keywords":["turf","equal","boolean","de-9im"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/boolean-crosses@6.2.0-alpha.2","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":"cccf4a4ce5680d39027c4c0e72c49ab24c0ebc1c","tarball":"http://registry-npm.ywwl.com/@turf/boolean-crosses/download/@turf/boolean-crosses-6.2.0-alpha.2.tgz","fileCount":6,"integrity":"sha512-60gY/4qDpLBy4bUNieP1cS9lxpue0mkvWFmq0GUpcf5V3lSpG9+F4DPytRxV59glBQi3Zc4N7Pr7FPaM9gbSRQ==","signatures":[{"sig":"MEUCIFPAi2ivXFkJngyoW85F0F58LKmq/KBB0MQA9Tb6V1fwAiEA0pvm8UJx/hvou1HPucm+82RBk2wcGW70yOGmibxpUK8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19174,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDHRNCRA9TVsSAnZWagAAK+YQAI7pGHdPcJ3aa/fzxIrR\n/427IihnGeIstdvF1qmjQwIXEHKRkcxBOEIUM5WaDEKMMOkn4UwxUfoxr63Q\n+20WhqCB3+rrWmqZ6PolSu4OtsbLWfLA+i/wN2t1m905Amx12YOgDyXOa6I9\nxpSYUGNMI6zMRDkVYI6EiMZWJCfjBCb5o7MjVJ+txcgVgXlalI59Wpbh6wxa\n0anoP6UxpVpa6Sb7HpLEjvyAZRguICN9xMRjyMdYeQNIqoXNnttSnNFS5oLc\nWPSeDUKOQqAT7nuvqX6NkWd2Gm+sfwWxdB/aScT54lXNjUO2areLwl3K8chQ\nsWrO1aeU4rx7C9SbJMys85fLYHUc4hsJrH6xCkrPdqpB/7GBy3C/ZiyTQwkD\nVNUfQksk+BwSPIGru4b3ksecdGIJ/+VfN8ZALE3OrHbJ/twHN+PS8K9LUWXz\nVX7PTyvGeghEIhEXX6U7sz6v6q7v8SmIWBH2UJ1d92C6S0S3dhBAxXDQ/KUk\nhdNWOfKhIgmNgj3SedY2//Qyl6/2hfVsXJzoD2dXq7ckrp8MTanxaQzMISxc\n5Vv9vGaNDFXw4lDNHcM1tGjoeEHXNDCmXmvtdxHKcZXw6pGSkc9DIN8KusP3\nBtIg3+CObedbAvzABvMXN/FNQGXlEHXfOKBEdcrE6HAokb8K0LUnlP1OftZs\np/Z2\r\n=GGDl\r\n-----END PGP SIGNATURE-----\r\n","size":4029,"noattachment":false,"key":"/@turf/boolean-crosses/-/@turf/boolean-crosses-6.2.0-alpha.2.tgz"},"main":"dist/js/index.js","types":"dist/js/index.d.ts","module":"dist/es/index.js","gitHead":"23d5cb91d77e0c1e2e903a2252f525797f1d0d09","scripts":{"docs":"node ../../scripts/generate-readmes","test":"npm-run-all prepare test:*","bench":"npm-run-all prepare bench:run","prepare":"npm-run-all prepare:*","bench:run":"node bench.js","test:tape":"node -r esm test.js","prepare:es":"tsc --outDir dist/es --module esnext --declaration false","prepare:js":"tsc"},"_npmUser":{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"},"repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v13.10.1+x64 (darwin)","description":"turf boolean-crosses module","directories":{},"sideEffects":false,"_nodeVersion":"13.10.1","dependencies":{"@turf/helpers":"^6.2.0-alpha.2","@turf/invariant":"^6.2.0-alpha.2","@turf/line-intersect":"^6.2.0-alpha.2","@turf/polygon-to-line":"^6.2.0-alpha.2","@turf/boolean-point-in-polygon":"^6.2.0-alpha.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"glob":"*","tape":"*","tslint":"*","benchmark":"*","typescript":"*","@types/tape":"*","npm-run-all":"*","load-json-file":"*","boolean-shapely":"*"},"_npmOperationalInternal":{"tmp":"tmp/boolean-crosses_6.2.0-alpha.2_1594651725279_0.36904152431625437","host":"s3://npm-registry-packages"},"readme":"# @turf/boolean-crosses\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n## booleanCrosses\n\nBoolean-Crosses returns True if the intersection results in a geometry whose dimension is one less than\nthe maximum dimension of the two source geometries and the intersection set is interior to\nboth source geometries.\n\nBoolean-Crosses returns t (TRUE) for only multipoint/polygon, multipoint/linestring, linestring/linestring, linestring/polygon, and linestring/multipolygon comparisons.\nOther comparisons are not supported as they are outside the OpenGIS Simple Features spec and may give unexpected results.\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\n### Examples\n\n```javascript\nvar line1 = turf.lineString([[-2, 2], [4, 2]]);\nvar line2 = turf.lineString([[1, 1], [1, 2], [1, 3], [1, 4]]);\n\nvar cross = turf.booleanCrosses(line1, line2);\n//=true\n```\n\nReturns **[boolean][3]** true/false\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/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-crosses\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\n\n### Diagrams\n\n![esri-crosses](diagrams/esri-crosses.gif)","publish_time":1594651725405,"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":1594651725405,"dist-tags":{"latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}