Show / Hide Table of Contents

Method Reshape

Reshape(Multipart, Polyline)

Reshapes the specified geometry.

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

The geometry to be reshaped. This geometry can be either a Polygon or a Polyline.

Polyline reshaper

The polyline used to reshape the geometry.

Returns
Type Description
Multipart

The new reshaped Multipart (Polygon or Polyline).

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, then null is returned.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.1 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 100.15
In This Article
Back to top Copyright © 2022 Esri.