0.0.1 • Published 5 years ago

boolean-geometry-self-intersects v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

boolean-geometry-self-intersects

A small module for checking for self intersections of geomtries

Documentation

Valid inputs: Geojson features

    const box = {type: 'Polygon', coordinates: [[[0, 0], [1, 0], [1, 1], [0, 1], [0, 0]]]}
    booleanHasSelfIntersect(box)
    // false

Install

npm install boolean-geometry-self-intersects