JuliaGeometry / GeometryBasics.jl

Basic Geometry Types
MIT License
164 stars 54 forks source link

`union` with negative width rectangles gives wrong result #164

Open ffreyer opened 2 years ago

ffreyer commented 2 years ago
julia> union(Rect2f(0, 0, -1, -1), Rect2f(0, 0, 1, 1))
GeometryBasics.HyperRectangle{2, Float32}(Float32[0.0, 0.0], Float32[1.0, 1.0])