{"name":"@turf/boolean-crosses","version":"6.3.0","keywords":["turf","equal","boolean","de-9im"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/boolean-crosses@6.3.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":"0a3fbdeddeb344a653acef95cb8d404fab12fe2d","tarball":"http://registry-npm.ywwl.com/@turf/boolean-crosses/download/@turf/boolean-crosses-6.3.0.tgz","fileCount":7,"integrity":"sha512-ajCuNSSqQPN2p3Y1ERX4E/wEsNn5JANI2uNgGOpVAeNX48prQGCBANcG2FTMMB+WVqq9iIdQ4eB5mEg6I8TS4w==","signatures":[{"sig":"MEQCIGuYnpLtZE7YYkNyGYJ8KJW/Vq+WYUmQ82bOUt3cMYFuAiA8LDQ1wrqpSZM1ACgK/2RdzPipMChr2e5JX+TgUYJRpw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19536,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCEJbCRA9TVsSAnZWagAAakEP+weYXEDZ/e2pby+TRaiS\np1CuFkzuW5T50QV5nPPe9j5FjOuQUTjr7J1Ry5hlKKcz7yxbHpKiLV3Pt/LO\nZclpZMrabFrCqwG93fTLIuKRKijE2eSyvvigGvmktqv0b2BKtwBRPQapt0+e\nfFbNV9D1KxRnHlyfnxZ0yq91U8VRSlmAAbSkpE5OQRytAiawI2YnaK0kJTEi\n5PpnyM0Q9XnXqUlWnJBqhNTQsLSkUX81ye0WNWpHGtBy2BCR8YkDwi3NkKWb\nWek4GOgbLEzZC9GJVXZbXwrEqNzMKTxBrcJvyvwLUP+RKwtPTGVfLrL/L4wU\npY4Qc6qVHnVldOXePejpNyrC96LcKVqJJrM1MKV1r6cR/1YSybQt0AmpRdFM\n+I4UbzUQBDtJs6vbvriJzhaIhaGiJ4H/1EjfdbJT/Wep/0yW3UC+b15/cL2P\nliE9pyvYsT+JCckNrG6Aep/I5gC9+089CnhFblsp0VwEXwqN+21z/PKsAp7F\nGD/7SigY1ItcWypSUIx54z6/nojTCrTB8RTivWZQHsmfGu/11rBsQU6GLfND\nAUeonnYKETG9rxKYc8OmGM6Gm4elW5xt8fs+642pLWPRuTW6d7EM3C+xkmuK\ne63ZMfO6fWHcKkAKjjvYMCu1YkmFvEXuwvej0Bvh12K2fyhA5/3BgyQW8mRR\n81w9\r\n=v8MI\r\n-----END PGP SIGNATURE-----\r\n","size":4127,"noattachment":false,"key":"/@turf/boolean-crosses/-/@turf/boolean-crosses-6.3.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":"57c8877e1e2d67effc2cdd23385c02b2a6615a49","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/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.3.0","@turf/invariant":"^6.3.0","@turf/line-intersect":"^6.3.0","@turf/polygon-to-line":"^6.3.0","@turf/boolean-point-in-polygon":"^6.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"glob":"*","tape":"*","tslint":"*","ts-node":"*","benchmark":"*","typescript":"*","@types/tape":"*","npm-run-all":"*","load-json-file":"*","boolean-shapely":"*"},"_npmOperationalInternal":{"tmp":"tmp/boolean-crosses_6.3.0_1611154010944_0.8853507327459611","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":1611154011104,"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":1611154011104,"dist-tags":{"latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}