Fills the closed gaps between polygons using polygon boundaries and polylines as the boundary for the new polygons.
Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.9.0
public static IEnumerable<Polygon> AutoComplete(
Public Shared Function AutoComplete (
existingBoundaries As IEnumerable(Of Polygon),
newBoundaries As IEnumerable(Of Polyline)
) As IEnumerable(Of Polygon)
- Type: System.Collections.GenericIEnumerablePolygon
- Type: System.Collections.GenericIEnumerablePolyline
The new polygons that were created. If either existingBoundaries or newBoundaries is empty, returns an empty array.
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
will participate in the operation, so it makes sense to filter the input accordingly. The geometries in
existingBoundaries must all have an area, i.e. be polygons or envelopes. The geometries in newBoundaries must all be
polylines. The geometries in existingBoundaries and newBoundaries must have consistent spatial references.