Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

robust-segment-intersect

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

robust-segment-intersect - npm Package Compare versions

Comparing version 0.0.0 to 1.0.0

.travis.yml

27

package.json
{
"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) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc