Show / Hide Table of Contents

Method Extend

Extend(Polyline, Polyline, GeometryExtendOptions)

Extends a polyline using a 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.

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.1
.NET 6.0100.13 - 200.1
.NET 6.0 Windows100.13 - 200.1
.NET 6.0 Android200.0 - 200.1
.NET 6.0 iOS200.0 - 200.1
.NET Framework100.1 - 200.1
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.1 - 100.15
iOS100.1 - 100.15
UWP100.1 - 200.1
In This Article
Back to top Copyright © 2022 Esri.