Returns the point at a given distance along a line.
Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.9.0
public static MapPoint CreatePointAlong(
Public Shared Function CreatePointAlong (
polyline As Polyline,
distance As Double
) As MapPoint
- Type: Esri.ArcGISRuntime.GeometryPolyline
The polyline from which point is created.
- Type: SystemDouble
The distance along the polyline in the units of the polyline where point is created.
The point at the given distance along the line.
If distance is less than or equal to zero, the point returned is coincident with the start of the line.
If distance is greater than or equal to the line's length, the point returned is coincident with the end of the line.
If the line has multiple parts, and the distance falls exactly on a boundary between two parts, the returned point
will be coincident with either the end of one part or the start of the next which is undetermined.