Open Vdragon opened 10 years ago
The current 'max links' code is based on a Delaunay Triangulation.
Including the existing links as fixed, it would need to become a Constrained Delaunay Triangulation
For reference, http://totologic.blogspot.co.uk/2013/11/incremental-constrained-delaunay.html looks to be useful.
Other triangulation options are possible, including ingress-specific maximum-fields algorithms, that take account of overlapping fields and have a specific order that links need to be created in.
I wonder if something more general - a 'link planner' - would be a useful plugin? Import existing links, delete and add new ones by hand, calculate a triangulation that would fill in a region? Perhaps over-complicating things here though...
This is a feature request for max-links plugin.
I don't care about the tidyness of the links(cause in an area with many players it is impossible to make tidyest links) but I want to know how many links is still possible to create.
It doesn't need to be 100% correctly link-able though :)