matGeom
matGeom copied to clipboard
Plan on adding medial axis for convex polygon?
Hi, I was wondering if this is already on the to-do list? The library is extensive and beautifully done by the way.
Hi vitsensei,
in fact there is already a function "medialAxisConvex" within the polygons2d package!
Syntax is: "[N, E] = medialAxisConvex(POLYGON);"
However, it seems to work only for rather simple polygons, so I would advise to use with care.
Hi @dlegland, I am aware of that function. However, unfortunately, the application I'm thinking about requires the polygon to be concave!
well, extension to concave polygons is expected, but I had no occasion to work on this recently. I suggest to keep the issue open until I can work on it. Is it fine?
Of course it is fine. You have no idea how much I utilise your library. Thanks for being great!
Sorry, I've linked this incorrectly to the last pull request. This should be opened again.