Package Exports
- circles-intersect
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (circles-intersect) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
circles-intersect
Checks if two circles intersect.
Usage
circlesIntersect(x1, y1, r1, x2, y2, r2)
where x1, y1 ,x2 and y2 the center points of each circle and r1, r2 their radius
let circlesIntersect = require('circles-intersect')
let intersects = circlesIntersect(15,20,3,10,14,5)
console.log(intersects) // true
License
MIT