augustt198 / Quickhull.jl

MIT License
16 stars 2 forks source link

Slim down dependencies #2

Open juliohm opened 3 months ago

juliohm commented 3 months ago

Thanks for contributing the package!

Would you be willing to make GeometryBasics a weak dependency in a Julia extension? You can return the vertices and faces as lists of built-in Julia types (e.g.: tuples of floats and ints).

augustt198 commented 3 months ago

Thank you for the feedback, I'll have to think about this. I do want this to be a lightweight package but I also like the descriptiveness of Point, LineFace, TriangleFace, etc. (and the philosophy of geometry packages using the same types).

juliohm commented 3 months ago

Packages that implement functions like hull, triangulation, etc. usually return built-in data structures available in the programming language (e.g. tuples), and users decide which set of geometries meets their needs.

For instance, I would be interested in exploring the results with Meshes.jl geometries.