Skip to content

math.intersect() is numerically unstable. #540

@keunhong

Description

@keunhong

Example:
math.intersect([300, 90], [400, 97], [300, 130], [400, 125]) returns null.

The current code has a hard equivalence check which should probably be relaxed to a soft check within some epsilon.

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