Click or drag to resize

LineSegment Constructor (Double, Double, Double, Double, Double, Double, SpatialReference)

Initializes a new instance of the LineSegment class based on 3D coordinates and a spatial reference

Namespace:  Esri.ArcGISRuntime.Geometry
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.9.0
Syntax
public LineSegment(
	double xStart,
	double yStart,
	double zStart,
	double xEnd,
	double yEnd,
	double zEnd,
	SpatialReference spatialReference
)

Parameters

xStart
Type: SystemDouble
The X coordinate of start point.
yStart
Type: SystemDouble
The Y coordinate of start point.
zStart
Type: SystemDouble
The Z coordinate of start point.
xEnd
Type: SystemDouble
The X coordinate of end point.
yEnd
Type: SystemDouble
The Y coordinate of end point.
zEnd
Type: SystemDouble
The Z coordinate of end point.
spatialReference
Type: Esri.ArcGISRuntime.GeometrySpatialReference
A spatial reference
Remarks
Use this method to create a line segment. The represents a straight line between two points. The spatial reference parameter is used if the point's have a NULL spatial reference. If more than one spatial reference is supplied they must all be equal.
See Also