We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
difference
I was trying to make a more minimal example for #191 and ran into the following strange bug.
julia> import GeometryOps as GO, GeoInterface as GI julia> p56 = GI.Polygon([[(0.0, 0.0), (0.0, 10.0), (10.0, 10.0), (10.0, 0.0), (0.0, 0.0)]]); julia> p57 = GI.Polygon([[(0.0, 0.0), (0.0, 11.0), (11.0, 11.0), (11.0, 0.0), (0.0, 0.0)]]); julia> p1 = GO.difference(p57, p56; target = GI.PolygonTrait()) # this is good 1-element Vector{GeoInterface.Wrappers.Polygon{false, false, Vector{GeoInterface.Wrappers.LinearRing{false, false, Vector{Tuple{Float64, Float64}}, Nothing, Nothing}}, Nothing, Nothing}}: GeoInterface.Wrappers.Polygon{false, false, Vector{GeoInterface.Wrappers.LinearRing{false, false, Vector{Tuple{Float64, Float64}}, Nothing, Nothing}}, Nothing, Nothing}(GeoInterface.Wrappers.LinearRing{false, false, Vector{Tuple{Float64, Float64}}, Nothing, Nothing}[GeoInterface.Wrappers.LinearRing{false, false, Vector{Tuple{Float64, Float64}}, Nothing, Nothing}([(0.0, 10.0), (0.0, 11.0), (11.0, 11.0), (11.0, 0.0), (10.0, 0.0), (10.0, 10.0), (0.0, 10.0)], nothing, nothing)], nothing, nothing) julia> p1 = GO.difference(p56, p57; target = GI.PolygonTrait()) # this is bad GeoInterface.Wrappers.Polygon{false, false, Vector{GeoInterface.Wrappers.LinearRing{false, false, Vector{Tuple{Float64, Float64}}, Nothing, Nothing}}, Nothing, Nothing}[] julia> begin; f, a, p = poly(p56); poly!(a, p57); f; end
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I was trying to make a more minimal example for #191 and ran into the following strange bug.
The text was updated successfully, but these errors were encountered: