Method CreatePointAlong
CreatePointAlong(Polyline, Double)
Returns the point at the given distance along the line.
Declaration
public static MapPoint CreatePointAlong(this Polyline polyline, double distance)
Parameters
Type | Name | Description |
---|---|---|
Polyline | polyline | The polyline from which point is created. |
System.Double | distance | The distance along the polyline in the units of the polyline where point is created. |
Returns
Type | Description |
---|---|
MapPoint | The point at the given distance along the line. |
Remarks
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.
Supports true curves.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.2.1 - 200.6 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 200.6 |