{"name":"@turf/boolean-crosses","version":"6.2.0-alpha.3","keywords":["turf","equal","boolean","de-9im"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/boolean-crosses@6.2.0-alpha.3","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":"912d443f4eac47efe949d478670d15831b512b5f","tarball":"http://registry-npm.ywwl.com/@turf/boolean-crosses/download/@turf/boolean-crosses-6.2.0-alpha.3.tgz","fileCount":7,"integrity":"sha512-qSbT2eJXeq2VahVsiHEdBtbKw1XkLVzVJWWD6bSUY5sovITpZhomSPQoAHEQVB6Ex+MYKoBvVItAKOYrNmFU5w==","signatures":[{"sig":"MEUCIQDOdxmJZCt4qjk5hKwPUqLO9kSh1BJOUu5d5EFLGiv1pAIgNSzaj4B1TGo6s2uiFkAO68nZwPWzX6NXedo84Tk+NMQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19523,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0o2eCRA9TVsSAnZWagAASDEP/i+kh766ZpfBu8wAax2f\nFkDCQjSPctGDNwveaHW7J2QgKITWYXREheonzMBbSz6p726aCeXvOX9vpGLF\nmytHQmzxRo5IU2JmzoCrBmnNDA/OPp6lER6uJu3ulYx4etY1NWRcyHrldqkG\n2ruDexYE5WjfCRmb/MPpNoxVTJdl9ezajNPu5fG4Xn7KrhWS+9eE6sdl9TvO\nyY2ezavFZwLRdgWLTbQKxsCLKi2FWM+R3wC+bVKqeEpkShCDXOp+UPfQBJFd\ndKKUPQVqw7l7OBmErFyyBm/CzaXMS7HE+bdGnzomDH0MDfI1gcrekH+7GQjW\nqjHJNbAC+My3ZgfK3dOQWC9ZMkBGMpVZlkMoAiKITS3OunfzmRUpFm3IHiAr\n7cW70bNtlN51haiMdncEkTKE8HHo2nyqGbynCtC9QuTu+b9OuTZssAXrVvDo\nZjQiqJoYtpNlgs/K9dyyzPmdhfJ1EtQ0CIzWjyUYuB642p+UdKdQWHIzdOyO\no6SxBoECkT8zUhx5hOxBmAyPrlQdGKb8Ehtf6yhUAq9N6Fixi3Zdw1unJ26t\n60oP5g0bQUNVCWRTViw/EqAJ0d5enBzM3uzAvztHs2m3O+CI/q5Mje3c9FLw\nZMQlt98IpyOKIufoakz8scq8K0y3ED5O/icwGIkPOJs5vUepr2o7RLWgDKuF\nTRhK\r\n=5OTY\r\n-----END PGP SIGNATURE-----\r\n","size":4120,"noattachment":false,"key":"/@turf/boolean-crosses/-/@turf/boolean-crosses-6.2.0-alpha.3.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"},"gitHead":"dce9edfc705352e8cb9e0083c9330ba0e8d77409","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.2.0-alpha.3","@turf/invariant":"^6.2.0-alpha.3","@turf/line-intersect":"^6.2.0-alpha.3","@turf/polygon-to-line":"^6.2.0-alpha.3","@turf/boolean-point-in-polygon":"^6.2.0-alpha.3"},"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_6.2.0-alpha.3_1607634333668_0.37364466108519845","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":1607634333768,"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":1607634333768,"dist-tags":{"latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}