-
-
Notifications
You must be signed in to change notification settings - Fork 55
Polygon with BigFloats #132
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
Comments
The aim was to construct a hexagon. Calling the constructor directly, I think, solves the problem. using StaticArrays
using GeometryBasics
hexagon = GeometryBasics.Ngon(@SVector [Point(BigFloat(cos(θ)), BigFloat(sin(θ))) for θ in 0 : π / 3 : 2π - π / 3]) |
Oh yeah, there is some branch missing to handle non isbits element types... |
@zekeriyasari why did you close this? I think #132 (comment) would need to be changed in this package to fix this issue. |
Looks like this is fixed in v0.5 |
The construction of a polygon with
Float64
points such asdoes not throw an error, while the one with
BigFloat
points such asdoes throw an error. The error thrown is
Is there a possible workaround for this error?
The text was updated successfully, but these errors were encountered: