How to use Polygonizer ?

Developer
Jan 13, 2012 at 9:49 PM

I need to build polygon from an arc list

Why this code crashes for stack overflow when Polygonizer.Add(Boundaries) ?



List<LineString> Boundaries = new List<LineString>(); //Compute Boudaries Polygonizer polygonizer = new Polygonizer(); polygonizer.Add(Boundaries); foreach (Polygon f in polygonizer.Polygons) { //Feature q = (Feature)fs.AddFeature(f); //Do Something }