JuliaGeometry / GeometryBasics.jl

Basic Geometry Types
MIT License
165 stars 54 forks source link

add macro to generate aliases #213

Closed putianyi889 closed 4 months ago

putianyi889 commented 6 months ago

It's more like a proof of concept. Due to the discussion from #208 it's possible that the naming convention changes in the future and this PR tries to simplify that process.

SimonDanisch commented 6 months ago

Ah, I was too slow, I also just took a stab at this... I just decided against macros / eval, to finally have type aliases that are recognized by the vscode linter...

SimonDanisch commented 6 months ago

https://github.com/JuliaGeometry/GeometryBasics.jl/pull/214

SimonDanisch commented 4 months ago

Merged in https://github.com/JuliaGeometry/GeometryBasics.jl/pull/214