Method AutoComplete
AutoComplete(IEnumerable<Polygon>, IEnumerable<Polyline>)
Fills the closed gaps between polygons using polygon boundaries and polylines as the boundary for the new polygons.
Declaration
public static IEnumerable<Polygon> AutoComplete(IEnumerable<Polygon> existingBoundaries, IEnumerable<Polyline> newBoundaries)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Polygon> | existingBoundaries | The polygons. |
System.Collections.Generic.IEnumerable<Polyline> | newBoundaries | The polylines. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Polygon> | The new polygons that were created.
If either |
Remarks
The new polygons are created in the closed empty areas bounded by the edges of the existing polygon boundaries and the new boundary polylines. The newly created polygons do not overlap any existing polygons or polylines, and the boundary of a new polygon must contain at least one edge from the polylines. Only polygons that intersect the input polylines participate in the operation, so it makes sense to filter the input accordingly.
The geometries in existingBoundaries
must all have an area.
They must be polygons or envelopes.
The geometries in newBoundaries
must all be polylines.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.1 - 200.6 |
Xamarin.Android | 100.1 - 100.14 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.6 |