Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed epsilon comparison in line_circle_intr for better accuracy #30

Merged
merged 2 commits into from
Mar 23, 2023

Conversation

jbuckmccready
Copy link
Owner

@jbuckmccready jbuckmccready commented Mar 23, 2023

Test case added which triggers debug assert that found the problem. This fixes one of the cases (case 2) reported in #27.

This applies to case where line is nearly vertical (p0.x - p1.x very close to 0).

Test case added which triggers debug assert that found the problem.
@jbuckmccready jbuckmccready merged commit aca60c6 into master Mar 23, 2023
@jbuckmccready jbuckmccready deleted the fix_line_circle_intr_accuracy branch March 23, 2023 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant