GeometryBasics.jl icon indicating copy to clipboard operation
GeometryBasics.jl copied to clipboard

constuct Rectangles from Intervals

Open aplavin opened this issue 4 months ago • 2 comments

straightforward constructor implementation in an extension

aplavin avatar Aug 23 '25 23:08 aplavin

One issue is that the boundaries of geometries are always closed but in this PR you can convert open intervals to geometries, so information may be lost and can cause correctness bugs.

One option would be to error on open intervals, but that may also be annoying too.

rafaqz avatar Aug 24 '25 02:08 rafaqz

changed to only accept closed intervals – they are returned by 0..1 syntax, and by far the most common kind of intervals

aplavin avatar Aug 24 '25 02:08 aplavin