MakieOrg / MakieDraw.jl

Simple tools for drawing raster images, points, lines and polygons in Makie.jl.
MIT License
42 stars 2 forks source link

Dont allow drawing incorrect polygons #5

Open rafaqz opened 1 year ago

rafaqz commented 1 year ago

When we draw polygons movement of points should stop at the point where a line would intersect another to create an incorrect polygon. We can probably use tools from GeometryOps.jl to do this once it has stabilized.

asinghvi17 commented 6 months ago

would need self-intersection utils which are present in GeometryBasics.

rafaqz commented 6 months ago

Ah ok that should be enough then.