Show / Hide Table of Contents

Method Extend

Extend(Polyline, Polyline, GeometryExtendOptions)

Extends a polyline using another polyline as the extender.

Declaration
public static Polyline Extend(this Polyline polyline, Polyline extender, GeometryExtendOptions extendOptions)
Parameters
Type Name Description
Polyline polyline

The polyline to be extended.

Polyline extender

The polyline to extend to.

GeometryExtendOptions extendOptions

The flag for the type of extend operation to perform.

Returns
Type Description
Polyline

The extended polyline, or null if polyline could not be extended.

Remarks

The output polyline has the first and last segment of each path extended to the extender if the segments can be interpolated to intersect the extender. In the case that the segments can be extended to multiple segments of the extender, the shortest extension is chosen. Only end points for paths that are not shared by the end points of other paths are extended. If the polyline cannot be extended by the input extender, then a null 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.