I'm currently working on a project where I have to find all points connected to a given set of coordinates in a set of clipper polygons. So that means that I have the following:
List<List<IntPoint>> polygons=new List<List<IntPoint>>();
IntPoint start
and would like to have a return value of List> containing every polygon that has an uninterupted connected towards start.
__ __
| / \/
|/
1,1
would change into
__
| /
|/
But
_____
| /_/
|/
1,1
would remain unganged
The polygons are all closed, some may overlap.
Anyone know how to do this?