Skip to content

polygon with hole wrong slicing #10

@kriku

Description

@kriku

for example polygon with a hole inside:

const victim = polygon([
      [[0, 0], [0, 3], [3, 3], [3, 0], [0, 0]],
      [[1, 1], [1, 2], [2, 2], [2, 1], [1, 1]],
]);

const line = line([
      [-0.5, -0.5], [1.5, 1.5],
]);

code doesn't handle this case

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