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 |
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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.1 - 200.5 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.5 |