Constructor LineSegment
LineSegment(MapPoint, MapPoint)
Initializes a new instance of the Line
Declaration
public LineSegment(MapPoint startPoint, MapPoint endPoint)
Parameters
Remarks
Use this constructor to create a line segment representing a straight line between two points.
If both points have a Spatial
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
LineSegment(MapPoint, MapPoint, SpatialReference)
Initializes a new instance of the Line
Declaration
public LineSegment(MapPoint startPoint, MapPoint endPoint, SpatialReference spatialReference)
Parameters
Type | Name | Description |
---|---|---|
Map |
startPoint | The start point. |
Map |
endPoint | The end point. |
Spatial |
spatialReference | A spatial reference |
Remarks
Use this constructor to create a line segment representing a straight line between two points.
The spatialReference
parameter is used if the points have a null
Spatial
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
LineSegment(Double, Double, Double, Double)
Initializes a new instance of the Line
Declaration
public LineSegment(double xStart, double yStart, double xEnd, double yEnd)
Parameters
Type | Name | Description |
---|---|---|
Double | xStart | The X coordinate of start point. |
Double | yStart | The Y coordinate of start point. |
Double | xEnd | The X coordinate of end point. |
Double | yEnd | The Y coordinate of end point. |
Remarks
Use this constructor to create a line segment representing a straight line between two points.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
LineSegment(Double, Double, Double, Double, SpatialReference)
Initializes a new instance of the Line
Declaration
public LineSegment(double xStart, double yStart, double xEnd, double yEnd, SpatialReference spatialReference)
Parameters
Type | Name | Description |
---|---|---|
Double | xStart | The X coordinate of start point. |
Double | yStart | The Y coordinate of start point. |
Double | xEnd | The X coordinate of end point. |
Double | yEnd | The Y coordinate of end point. |
Spatial |
spatialReference | A spatial reference |
Remarks
Use this constructor to create a line segment representing a straight line between two points.
The spatialReference
parameter is used if the point's have a null
Spatial
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
LineSegment(Double, Double, Double, Double, Double, Double)
Initializes a new instance of the Line
Declaration
public LineSegment(double xStart, double yStart, double zStart, double xEnd, double yEnd, double zEnd)
Parameters
Type | Name | Description |
---|---|---|
Double | xStart | The X coordinate of start point. |
Double | yStart | The Y coordinate of start point. |
Double | zStart | The Z coordinate of start point. |
Double | xEnd | The X coordinate of end point. |
Double | yEnd | The Y coordinate of end point. |
Double | zEnd | The Z coordinate of end point. |
Remarks
Use this constructor to create a line segment representing a straight line between two points.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
LineSegment(Double, Double, Double, Double, Double, Double, SpatialReference)
Initializes a new instance of the Line
Declaration
public LineSegment(double xStart, double yStart, double zStart, double xEnd, double yEnd, double zEnd, SpatialReference spatialReference)
Parameters
Type | Name | Description |
---|---|---|
Double | xStart | The X coordinate of start point. |
Double | yStart | The Y coordinate of start point. |
Double | zStart | The Z coordinate of start point. |
Double | xEnd | The X coordinate of end point. |
Double | yEnd | The Y coordinate of end point. |
Double | zEnd | The Z coordinate of end point. |
Spatial |
spatialReference | A spatial reference |
Remarks
Use this constructor to create a line segment representing a straight line between two points.
The spatialReference
parameter is used if the point's have a null
Spatial
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |