Show / Hide Table of Contents

Method Reshape

Reshape(Multipart, Polyline)

Reshape polygons or polylines with a single path polyline.

Declaration
public static Multipart Reshape(this Multipart geometry, Polyline reshaper)
Parameters
Type Name Description
Multipart geometry

The polygon or polyline to be reshaped.

Polyline reshaper

The single path polyline reshaper

Returns
Type Description
Multipart

The reshaped polygon or polyline, or null if geometry could not be reshaped.

Remarks

Performs the reshape operation on a polygon or polyline using a single path polyline as the reshaper. The output geometry takes the shape of the polyline where it first intersects the reshaper to the last intersection. The first and last intersection points of the reshaper are chosen closest to the end points of the reshaper in the case that multiple intersections are found. For polygons, only individual paths can be reshaped. However, polylines can be reshaped across paths. If the geometry cannot be reshaped by the input reshaper, an empty geometry is returned.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.1 - 200.8
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 200.8
In This Article
Back to top Copyright © 2022 Esri.