panosz / alpha_shapes

A Python library for working with alpha shapes
MIT License
45 stars 9 forks source link

What is the principle of optimize() #13

Closed ohisamelie closed 11 months ago

ohisamelie commented 11 months ago

What is the principle of shaper.optimize() ? Do you have any reference materials?

panosz commented 11 months ago

optimize tries to calculate the alpha shape with the minimum number of triangles so that no vertices of the initial triangulation are left uncovered. It then returns the alpha value and the corresponding shape.

I am sorry, I don't have any reference material. I just thought it would be fun to implement this :).

panosz commented 11 months ago

I guess we should add a docstring to document this method. Related to #6