Skip to content

TypeError: Tree is not a constructor #4

Open
@shobishani

Description

@shobishani

import findIntersections from 'bentley-ottman-sweepline';
const test = [ [[0, 1], [3, 1]], [[2, 0], [2, 2]], ];
try { const intersectionz = findIntersections(test); console.log(intersectionz); } catch (e) { console.error(e); }
TypeError: Tree is not a constructor`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions