-
Notifications
You must be signed in to change notification settings - Fork 12
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
Reconsider Point behavior #22
Comments
this is a bug, I was not aware of it. I'll fix it |
actually this is not a bug-- as thee docs say the coordinates have to be |
oops, I was referring to the |
The code seems good, it is like a bug in Julia or something, I'll investigate... |
no bug with Julia of course :) the problem is that you are calling I'm not sure this doesn't make sense, it is certainly not a bug, just confusing |
Could it be that we should have Point(x::Real, y::Real) = Point2D(float(x), float(y))
Point(x::Real, y::Real, z::Real) = Point3D(float(x), float(y), float(z)) ? |
The following behavior seems super odd:
I always disliked this min_coord=1, max_coord=2 constraint, it is very unpleasant both mathematically speaking and programming-wise, but I believe there is a very good numerical reason for it.
This issue, however, is about the odd behavior of the point type regardless of numerics, can you please reconsider the design?
The text was updated successfully, but these errors were encountered: