robust-segment-intersect
Advanced tools
Comparing version 0.0.0 to 1.0.0
{ | ||
"name": "robust-segment-intersect", | ||
"version": "0.0.0", | ||
"version": "1.0.0", | ||
"description": "Exact arithmetic test for line segment intersection", | ||
@@ -10,10 +10,9 @@ "main": "segseg.js", | ||
"dependencies": { | ||
"robust-orientation": "^1.0.0" | ||
"robust-orientation": "^1.1.3" | ||
}, | ||
"devDependencies": { | ||
"tape": "~2.4.2", | ||
"tap": "~0.4.8" | ||
"tape": "~2.4.2" | ||
}, | ||
"scripts": { | ||
"test": "tap test/*.js" | ||
"test": "tape test/*.js" | ||
}, | ||
@@ -37,3 +36,19 @@ "repository": { | ||
}, | ||
"homepage": "https://github.com/mikolalysenko/robust-segment-intersect" | ||
"homepage": "https://github.com/mikolalysenko/robust-segment-intersect", | ||
"testling": { | ||
"files": "test/*.js", | ||
"browsers": [ | ||
"ie/8..latest", | ||
"firefox/17..latest", | ||
"firefox/nightly", | ||
"chrome/22..latest", | ||
"chrome/canary", | ||
"opera/12..latest", | ||
"opera/next", | ||
"safari/5.1..latest", | ||
"ipad/6.0..latest", | ||
"iphone/6.0..latest", | ||
"android-browser/4.2..latest" | ||
] | ||
} | ||
} |
@@ -5,4 +5,8 @@ robust-segment-intersect | ||
## Example | ||
[![testling badge](https://ci.testling.com/mikolalysenko/robust-segment-intersect.png)](https://ci.testling.com/mikolalysenko/robust-segment-intersect) | ||
[![build status](https://secure.travis-ci.org/mikolalysenko/robust-segment-intersect.png)](http://travis-ci.org/mikolalysenko/robust-segment-intersect) | ||
# Example | ||
```javascript | ||
@@ -21,3 +25,3 @@ | ||
## Install | ||
# Install | ||
@@ -28,5 +32,5 @@ ``` | ||
## API | ||
# API | ||
### `require("robust-segment-intersect")(a0, a1, b0, b1)` | ||
#### `require("robust-segment-intersect")(a0, a1, b0, b1)` | ||
Tests if the closed line segment `[a0,a1]` intersects the closed line segment `[b0,b1]`. | ||
@@ -39,4 +43,3 @@ | ||
## Credits | ||
(c) 2014 Mikola Lysenko. MIT License | ||
# Credits | ||
(c) 2014 Mikola Lysenko. MIT License |
@@ -5,3 +5,3 @@ "use strict" | ||
var orient = require("robust-orientation") | ||
var orient = require("robust-orientation")[3] | ||
@@ -8,0 +8,0 @@ function crosses(a0, a1, b0, b1) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
4466
1
7
0
41
Updatedrobust-orientation@^1.1.3