Method InsertPoint
InsertPoint(Int32, MapPoint)
Inserts a point into the part at the specified point index. Line segments will be added to connect the point to adjacent segments.
Declaration
public void InsertPoint(int pointIndex, MapPoint point)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pointIndex | Zero-based index of the point. |
MapPoint | point | The point to insert. |
Remarks
The point index can be equal to the point count and this is equivalent to adding a point to the end of the collection. The points in the part are the start and end points of segments. An existing segment connection the point before or after the point index is removed. Inserting a new point will insert new line segments connecting the adjacent points.
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.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
InsertPoint(Int32, Double, Double)
Inserts a point specified by its x,y coordinate into the part at the specified point index. Line segments will be added to connect the point to adjacent segments.
Declaration
public void InsertPoint(int pointIndex, double x, double y)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pointIndex | Zero-based index of the point. |
System.Double | x | The x coordinate of the new point. |
System.Double | y | The y coordinate of the new point |
Remarks
The point index can be equal to the point count and this is equivalent to adding a point to the end of the collection. The points in the part are the start and end points of segments. An existing segment connection the point before or after the point index is removed. Inserting a new point will insert new line segments connecting the adjacent points.
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.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
InsertPoint(Int32, Double, Double, Double)
Inserts a point specified by its x,y,z coordinate into the part at the specified point index. Line segments will be added to connect the point to adjacent segments.
Declaration
public void InsertPoint(int pointIndex, double x, double y, double z)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pointIndex | Zero-based index of the point. |
System.Double | x | The x coordinate of the new point. |
System.Double | y | The y coordinate of the new point |
System.Double | z | The z coordinate of the new point |
Remarks
The point index can be equal to the point count and this is equivalent to adding a point to the end of the collection. The points in the part are the start and end points of segments. An existing segment connection the point before or after the point index is removed. Inserting a new point will insert new line segments connecting the adjacent points.
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.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |