UNPKG

bentley-ottman-sweepline

Version:

Bentley-Ottman segments intersection algorithm

9 lines (7 loc) 167 B
var Point = function (coords, type) { this.x = coords[0]; this.y = coords[1]; this.type = type; this.segments = []; } module.exports = Point;