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

maybe a bug #14

Closed
yfismine opened this issue Sep 26, 2022 · 2 comments
Closed

maybe a bug #14

yfismine opened this issue Sep 26, 2022 · 2 comments

Comments

@yfismine
Copy link

When I execute the code below the program has an error

from Geometry3D import *
circle = Circle(Point(503.967529, 0, 370.521179),y_unit_vector(),400)
segment = Segment(Point(-353.2565, 0, -68.26225), Point(721.19, 0, 477.95))
print(circle.intersection(segment))

Hope you can tell me what is causing this problem
image

@yfismine
Copy link
Author

yfismine commented Sep 26, 2022

It seems to be a matter of precision

@GouMinghao
Copy link
Owner

Precision problem is a known problem, it might be solved in the next version

@GouMinghao GouMinghao reopened this Oct 6, 2022
@yfismine yfismine closed this as completed Oct 7, 2022
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

No branches or pull requests

2 participants