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
Syntax
public static Polyline Extend(
	Polyline polyline,
	Polyline extender,
	GeometryExtendOptions extendOptions
)

Parameters

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

Return Value

Type: Polyline
The extended polyline.
Remarks
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