Skip to content

Ignore unused points? #4

@max-christian

Description

@max-christian

I'm getting this exception thrown from PlainShape.split(). Seems to happen when a polygon has two very nearby vertices.

                throw SplitError.unusedPoint

Is it safe to ignore the unused point by replacing the throw with the following code?

                i += 1
                continue nextNode

Any advice much appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions