{"name":"@turf/boolean-crosses","version":"7.0.0-alpha.0","keywords":["turf","equal","boolean","de-9im"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/boolean-crosses@7.0.0-alpha.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":"8714b0cb8cd279c85fa253cac512d19cbdb9ba52","tarball":"http://registry-npm.ywwl.com/@turf/boolean-crosses/download/@turf/boolean-crosses-7.0.0-alpha.0.tgz","fileCount":7,"integrity":"sha512-DPbKpDbl9kZHjIOD7hWOdUIhlc9jZxehHGn3iVgKhVyMklvR1/xXs/duWFy4Tts/Yy/ZNPWz3EHyWVhVOBsGOQ==","signatures":[{"sig":"MEUCICJQje+Nd/vyzQb55JikVwKoDhsBq/ssStx7zdt97IObAiEAxUDOOGzYLfpIySmU/Guh/eiseRj1xQyVwG9tnq3Q0KI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20037,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJja8O1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqsDA/+NH/DWUUQtL7wp4MRWSDmu3yipSCiiPR8qDXH5vuOEPBdq+YY\r\n6UyHqCyzVfozsra0UuHHmZfFh7WuJrycuLWj7eS+K1GxUUz2kvwH3NpmeNao\r\nRt1tQoKoLBpMsMduu1sBSPUK3z9MAM7Vlw6haYZXPd05CoL/N4S+pQxswOiE\r\nM9a7GvBugiWzYHnew6FIewtftANS7kkhplhXmeshK8iFT7djPKf3BakVNlgc\r\nv/AkSeAOkk7jjF7noySRHrl6omgkc1PON5331ogjxbd99/Q19wLIRwdtwzB3\r\n0mw/fcuav/aqN7UGq3zqXeibj6BJO7EqhGZeewRbkUqiU7YZaZNfiEk8dZFZ\r\nqKnfswNPmhSNRrsddEHX75Xvrp4iUAHqO2zb7w+l/tway+cEwI30Z1lXkg3p\r\nm2kelrZfO44j928m6gFQdMekxJYL7t8pywZ199bmkd5UgKbttsoG9zonW5Q1\r\n1Ta4D+NPY1dhMOZz7mby5i46ODVbTSae6TQ3o1BETwMPvROfQZPhBUioF9/M\r\nUvJH3OsZKc2sBwtvVIOtyfoSGm3c/OCkGFgdy1beeIgS2LxOtlu1POZmFk4l\r\n9BCPoG/4eitnk6Wi7wlpF+qDtN3gh+z461UhJzA8d1ph97aDKj5SD0fHcr3S\r\nsrVLJA3dzjlE9f66qG4zH/2qSQcl8rMXKu0=\r\n=AoD4\r\n-----END PGP SIGNATURE-----\r\n","size":4214,"noattachment":false,"key":"/@turf/boolean-crosses/-/@turf/boolean-crosses-7.0.0-alpha.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"},"funding":"https://opencollective.com/turf","gitHead":"0edc4c491b999e5ace770a61e1cf549f7c004189","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":"mdfedderly","email":"mdfedderly@mdfedderly.com"},"repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v19.0.1+arm64 (darwin)","description":"turf boolean-crosses module","directories":{},"sideEffects":false,"_nodeVersion":"19.0.1","dependencies":{"tslib":"^2.3.0","@turf/helpers":"^7.0.0-alpha.0","@turf/invariant":"^7.0.0-alpha.0","@turf/line-intersect":"^7.0.0-alpha.0","@turf/polygon-to-line":"^7.0.0-alpha.0","@turf/boolean-point-in-polygon":"^7.0.0-alpha.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"glob":"*","tape":"*","tslint":"*","ts-node":"*","benchmark":"*","typescript":"*","@types/tape":"*","npm-run-all":"*","load-json-file":"*","boolean-shapely":"*"},"_npmOperationalInternal":{"tmp":"tmp/boolean-crosses_7.0.0-alpha.0_1668006836952_0.5264464549750971","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":1668006837116,"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":1668006837116,"dist-tags":{"latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}