-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implemented search for holes in the PolygonBoundaryFinderHelper #311
Implemented search for holes in the PolygonBoundaryFinderHelper #311
Conversation
Atria1234
commented
Dec 16, 2020
•
edited
Loading
edited
I think I'm missing something. |
I think it has to do with the Irrigation System you was making ... Not sure tho |
Yeah, that's it. There could be a special overlay which iterates over all canals in the layout, generates bool[][] of irigated tiles and this algorithm could be used to show the area, correctly with holes. I'll finish implementing this overlay and probably revert to just bounding polygon for the true influence range polygon calculation. |
I guess that irrigation canals don't have special property, that would distinguish them from other placed objects, do they? Other than its name. |
No. it has not. But does it need an extra marker, like road ? |
If you link it to the Identifier, else you have all languages to check : |
Yeah, I'll probably use the Identified, but this if Anno 1800 specific function, where do you think it should be? |
Around the code of your true influence range as that is also a Anno 1800 Specific function only |
@Atria1234 @StingMcRay |
I currently don't have time to implement the canal coverage functionality. Theoretically this PR can be merged and the canal coverage being implemented in another PR. |