Click or drag to resize

GeometryEngineExtend Method

Extends a polyline using a polyline as the extender.

Namespace:  Esri.ArcGISRuntime.Geometry
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.9.0
public static Polyline Extend(
	Polyline polyline,
	Polyline extender,
	GeometryExtendOptions extendOptions


Type: Esri.ArcGISRuntime.GeometryPolyline
The polyline to be extended.
Type: Esri.ArcGISRuntime.GeometryPolyline
The polyline to extend to.
Type: Esri.ArcGISRuntime.GeometryGeometryExtendOptions
The flag for the type of extend operation to perform.

Return Value

Type: Polyline
The extended polyline.
The output polyline will have 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 will be extended. If the polyline cannot be extended by the input extender, then a null will be returned.
See Also